Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ async def critical_operation() -> None:
* Add type hints across public and internal APIs.
* Comments and docstrings should be in English and explain why, not only what.
* Use Protocols and TypedDict or pydantic models where appropriate.
* Avoid excessive literal dict access (for example, using `obj['key']` everywhere); prefer typed structures such as `dataclass`, pydantic models, or `TypedDict` for clearer contracts and better type safety.

### Error Handling

Expand All @@ -124,6 +125,7 @@ def parse_payload(raw: str) -> dict:

* Avoid nested functions; extract helpers at module level.
* Keep functions under 200 lines. Split into well-named helpers.
* Avoid functions with more than 10 parameters; prefer wrapping parameters in a struct or object.
* Separate concerns: I/O, parsing, business logic, and orchestration.

### Strings and Literals
Expand Down
2 changes: 1 addition & 1 deletion python/configs/agent_cards/strategy_agent.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@
"author": "ValueCell Team",
"tags": ["strategy", "trading", "llm", "demo"],
"notes": "This card is a lightweight example; replace model api_key and tune parameters for production use.",
"local_agent_class": "valuecell.agents.strategy_agent.agent:StrategyAgent"
"local_agent_class": "valuecell.agents.prompt_strategy_agent.core:StrategyAgent"
}
}
Loading