Skip to content

Conversation

@codeOwlAI
Copy link
Owner

@codeOwlAI codeOwlAI commented Jun 29, 2025

PR Summary

Refactor Agent Factories and Enhance Error Handling

Overview

This PR consolidates agent factories by introducing StandardAgentFactory while removing several specific factory implementations, and improves import error handling with more descriptive messages.

Change Types

Type Description
Refactor Consolidation of agent factories into StandardAgentFactory
Enhancement Improved error handling with helpful pip install suggestions
Enhancement Added metadata configuration for agent executors

Affected Modules

Module / File Change Description
schema.py Added try-except block with descriptive import error messages
tool_usage/agents/__init__.py Refactored agent factories, introducing StandardAgentFactory
tool_usage/agents/runnable_agent.py Added metadata configuration to Runnable from agent executor
unit_tests/tool_usage/test_public_api.py Updated tests to include new agent factory classes

baskaryan and others added 15 commits March 13, 2024 23:09
* Update packages to be used with different providers
* Register Anthropic models
add factory for regular tool using agents

---------

Co-authored-by: Chester Curme <chester.curme@gmail.com>
Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com>
Keep it for backwards compatibility but do not expose in task registry.
This dataset is probably more confusing to folks than helpful especially
since it it completely overlaps with the existing multiverse math
dataset. We should add another dataset that's later.
Remove confusing adapter for agents. Agent template should just take {question} as the input.

Update intro and simplify it!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants