You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The register_factory method in the core's AgentRuntime API should be a user-friendly API. This entails the following changes:
type should be string or AgentType
expected_types should be optional
type and agent_factory should be positional arguments
doc string
Why is this needed?
BaseAgent.register is not applicable in scenarios where the factory and subscriptions are registered separately with the runtime. For example, when importing a 3rd party agent class implementation, we cannot assume a default subscription on the agent class, and we would like to specify the subscription on our side.
The text was updated successfully, but these errors were encountered:
What feature would you like to be added?
The
register_factory
method in the core's AgentRuntime API should be a user-friendly API. This entails the following changes:type
should be string orAgentType
expected_types
should be optionaltype
andagent_factory
should be positional argumentsWhy is this needed?
BaseAgent.register
is not applicable in scenarios where the factory and subscriptions are registered separately with the runtime. For example, when importing a 3rd party agent class implementation, we cannot assume a default subscription on the agent class, and we would like to specify the subscription on our side.The text was updated successfully, but these errors were encountered: