Skip to content

dimos run unitree-go2 --help crashes with Pydantic validated_data ValueError #3640

Description

@christiefhyang

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.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions