Skip to content

Commit 6a6fdda

Browse files
authored
Merge pull request #611 from Fr4nc3/macae-rfp-af-101725
Update magentic_agent_factory.py
2 parents 846fec7 + 581cbe9 commit 6a6fdda

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/v4/magentic_agents/magentic_agent_factory.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,13 +101,13 @@ async def create_agent_from_config(self, user_id: str, agent_obj: SimpleNamespac
101101
# Create appropriate agent
102102
if use_reasoning:
103103
# Get reasoning specific configuration
104-
azure_openai_endpoint = config.AZURE_OPENAI_ENDPOINT
104+
project_endpoint = config.AZURE_AI_PROJECT_ENDPOINT
105105
agent = ReasoningAgentTemplate(
106106
agent_name=agent_obj.name,
107107
agent_description=getattr(agent_obj, "description", ""),
108108
agent_instructions=getattr(agent_obj, "system_message", ""),
109109
model_deployment_name=deployment_name,
110-
project_endpoint=azure_openai_endpoint, # type: ignore
110+
project_endpoint=project_endpoint, # type: ignore
111111
search_config=search_config,
112112
mcp_config=mcp_config,
113113
)

0 commit comments

Comments
 (0)