-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Refactor: update ai hedge fund with latest apis and validated natural language to base model conversion #9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…se model conversion
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR refactors the AI hedge fund agent to use the latest APIs and implements validated natural language to base model conversion. It modernizes the integration by replacing the legacy A2A server approach with a new decorator-based agent system and adds support for remote agent connections.
Key changes:
- Refactored AI hedge fund agent to use new decorator-based architecture with natural language parsing
- Added comprehensive remote agent connection management with config loading
- Updated BaseAgent to remove Pydantic dependencies and simplify the interface
Reviewed Changes
Copilot reviewed 11 out of 12 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| python/valuecell/core/agent/types.py | Simplified BaseAgent by removing Pydantic inheritance and agent metadata fields |
| python/valuecell/core/agent/connect.py | Added extensive remote agent management functionality including config loading and card resolution |
| python/valuecell/core/agent/decorator.py | Enhanced error handling with detailed failure messages instead of generic ServerError |
| python/third_party/ai-hedge-fund/adapter/main.py | Complete rewrite using new decorator-based architecture with natural language request parsing |
| python/third_party/ai-hedge-fund/adapter/test_client.py | Added analyst selection support and improved parameter handling |
| python/pyproject.toml | Added agno dependency for the new agent framework |
| python/configs/agent_cards/hedge_fund_agent.json | Created remote agent configuration file |
| python/third_party/ai-hedge-fund/launch_adapter.sh | Added launch script for the hedge fund adapter |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
… and configuration details
…e agent config loading
…prove formatting in examples
No description provided.