We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f413121 commit a1e3855Copy full SHA for a1e3855
src/backend/kernel_agents/agent_factory.py
@@ -265,6 +265,14 @@ async def create_all_agents(
265
temperature=temperature,
266
agent_instances=agent_instances, # Pass agent instances to the planner
267
client=client,
268
+ response_format = {
269
+ "type": "json_schema",
270
+ "json_schema": {
271
+ "name": PlannerResponsePlan.__name__,
272
+ "description": f"respond with {PlannerResponsePlan.__name__.lower()}",
273
+ "schema": PlannerResponsePlan.model_json_schema()
274
+ }
275
+ },
276
)
277
agent_instances[AgentType.PLANNER.value] = (
278
planner_agent # to pass it to group chat manager
0 commit comments