dimensionalOS / dimensionalOS/dimos
dimos run unitree-go2 --help crashes with Pydantic validated_data ValueError
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 4.5k
- Forks
- 808
- Avg merge
- 3d 5h
- Merged PRs (30d)
- 233
Description
Description
What happened?
Running uv run dimos run unitree-go2 --help on v0.0.13 crashes while generating the blueprint argument help.
The command raises a Pydantic ValueError related to calling a default factory without the required validated_data argument.
What did you expect?
Expected the command to display the available arguments/options for the unitree-go2 blueprint and exit normally without a traceback.
System
Ubuntu 24.04
Robot / Sim / Hardware
Unitree Go2
No robot connection/control was initiated. The failure occurs while running the CLI --help command.
Steps to reproduce
git checkout v0.0.13
uv sync
uv run dimos run unitree-go2 --help
Environment
- Install method:
uv - DimOS version/tag:
v0.0.13 - Branch state: detached HEAD at
v0.0.13
Commit can be obtained with:
git rev-parse --short HEAD
Logs / screenshots
Starting DimOS
Blueprint arguments:
Override with --option/-o module.field=value.
Nested config paths use dotted names, e.g. module.nested.field=value.
Uncaught exception occurred
Traceback:
dimos/robot/cli/dimos.py:365 in run
print(arg_help(blueprint.config(), blueprint))
dimos/robot/cli/dimos.py:194 in arg_help
output += arg_help(...)
dimos/robot/cli/dimos.py:178 in arg_help
fallback = _field_default(info)
dimos/robot/cli/dimos.py:217 in _field_default
return info.get_default(call_default_factory=True)
pydantic/fields.py:741 in get_default
raise ValueError(...)
ValueError: The default factory requires the 'validated_data' argument, which
was not provided when calling 'get_default'.
Additional context: uv run dimos list succeeds and correctly lists the built-in blueprints, including unitree-go2.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with dimos/robot/cli/dimos.py, especially run, arg_help, and _field_default, then reproduce with uv run dimos run unitree-go2 --help at v0.0.13. Inspect how the Pydantic field default is requested and verify that blueprint argument help displays normally without the validated_data ValueError or traceback.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Clearly specified
- Newbie friendliness
- 78/100