Closed cornelcroi closed 1 month ago
To have a new instance of the orchestrator when used with default value for classifier
The orchestrator becomes static
orchestrator = MultiAgentOrchestrator(options=OrchestratorConfig( LOG_AGENT_CHAT=True, LOG_CLASSIFIER_CHAT=True, LOG_CLASSIFIER_RAW_OUTPUT=True, LOG_CLASSIFIER_OUTPUT=True, LOG_EXECUTION_TIMES=True, MAX_RETRIES=3, USE_DEFAULT_AGENT_IF_NONE_IDENTIFIED=True, MAX_MESSAGE_PAIRS_PER_AGENT=10 ))
Better handle the default values initialization in the init of the orchestrator
init
Instantiate the orchestrator several times. Issue easy to test with FastAPI.
Fixed in python 0.0.18
Expected Behaviour
To have a new instance of the orchestrator when used with default value for classifier
Current Behaviour
The orchestrator becomes static
Code snippet
Possible Solution
Better handle the default values initialization in the
init
of the orchestratorSteps to Reproduce
Instantiate the orchestrator several times. Issue easy to test with FastAPI.