| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| ra_aid-0.30.0-py3-none-any.whl | 2025-05-06 | 1.0 MB | |
| ra_aid-0.30.0.tar.gz | 2025-05-06 | 13.8 MB | |
| README.md | 2025-05-06 | 3.1 kB | |
| Release v0.30.0 source code.tar.gz | 2025-05-06 | 13.8 MB | |
| Release v0.30.0 source code.zip | 2025-05-06 | 14.0 MB | |
| Totals: 5 Items | 42.5 MB | 0 | |
[0.30.0] - 2025-05-06
Added
- Agent Thread Management: Introduced a new system (
ra_aid/utils/agent_thread_manager.py) for managing the lifecycle of agent threads, allowing for better control and monitoring of running agents. Includes functions to register, unregister, stop, and check the status of agent threads. - Session Deletion API: Added a
DELETE /v1/session/{session_id}endpoint to allow for stopping an active agent session and marking it as "halting" (ra_aid/server/api_v1_sessions.py). - Session ID in Agent Creation: The
create_agentfunction and its callers now utilize asession_idfor improved agent tracking and context management (ra_aid/agent_utils.py,ra_aid/agents/research_agent.py,ra_aid/server/api_v1_spawn_agent.py). - User Query Trajectory in UI: Added a new
UserQueryTrajectory.tsxcomponent to display the initial user query in the frontend timeline. - Copy to Clipboard Button in UI: Implemented a
CopyToClipboardButton.tsxcomponent and integrated it into various UI parts (e.g.,MarkdownCodeBlock.tsx, Task and Expert Response trajectories) for easy content copying. - Persistent CLI Configuration: Users can now set and persist default LLM provider and model via CLI (
--set-default-provider,--set-default-model), stored inconfig.jsonin the.ra-aiddirectory (ra_aid/config.py). - Tests for Agent Thread Manager: Added new unit tests for the agent thread management module (
tests/ra_aid/utils/test_agent_thread_manager.py). - Tests for Session Deletion API: Added new tests for the session deletion API endpoint (
tests/ra_aid/server/test_api_v1_sessions.py).
Changed
- Default Gemini Model: Updated the default Google Gemini model to
gemini-2.5-pro-preview-05-06(fromgemini-2.5-pro-preview-03-25) inra_aid/__main__.py,ra_aid/models_params.py,docs/docs/quickstart/recommended.md, and related tests. - Async Tool Wrapper Optimization: Refined the creation of synchronous wrappers for asynchronous tools to only pass necessary (non-default or required) arguments to the underlying coroutine, improving efficiency (
ra_aid/tool_configs.py). - Agent Creation Tests: Updated tests for
create_agentto reflect the newsession_idparameter (tests/ra_aid/test_agent_utils.py). - Session Statuses: The
Sessionmodel now includes 'halting' and 'halted' statuses to support the new session termination API. - User Query Storage: The initial
user_queryis now stored with session and trajectory data. DEFAULT_SHOW_COST: Changed toTrueby default.
Fixed
- Tool Name Sanitization: Corrected an issue where tool names with special characters (
.or-) could cause errors during the creation of synchronous wrappers for async tools. These characters are now consistently replaced with_(ra_aid/tool_configs.py). - Token Limiter Model Name Handling: Improved
get_model_token_limitinra_aid/anthropic_token_limiter.pyto better handle model name variations for token limit lookups.