The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
chore: merge origin/main (resolve gateway/platforms/api_server.py, gateway/platforms/api_server_openai_routes.py)
teknium112cc17fd766a
diff --cc gateway/platforms/api_server_runs.pyindex ae290cf44f1,6930d6d33da..1bf96361132--- a/gateway/platforms/api_server_runs.py+++ b/gateway/platforms/api_server_runs.py@@@ -762,10 -776,10 +786,10 @@@ async def _execute_run(self, run: _RunLwith self._profile_scope(run.request_profile):agent = self._create_agent(stream_delta_callback=_text_cb, tool_progress_callback=self._make_run_event_callback(run_id, loop),- **run.agent_kwargs)+ interim_assistant_callback=_interim_cb, **run.agent_kwargs)self._active_run_agents[run_id] = agentapproval_notify = _make_approval_notify(self, run, _api_server=_api_server)- result, usage = await loop.run_in_executor(+ result, usage, served_runtime = await loop.run_in_executor(None, lambda: _run_agent_sync(self, run, agent, approval_notify, _api_server=_api_server))if not isinstance(result, dict):result = {}