diff --git a/agents-api/agents_api/routers/agents/routers.py b/agents-api/agents_api/routers/agents/routers.py index 695ca4f67..ee6f73264 100644 --- a/agents-api/agents_api/routers/agents/routers.py +++ b/agents-api/agents_api/routers/agents/routers.py @@ -254,7 +254,7 @@ async def create_agent( doc_id = docs_resp["doc_id"][0] await run_embed_docs_task( - doc_id=doc_id, title=doc.title, content=doc.content, job_id=job_id + doc_id=doc_id, title=doc.title, content=content, job_id=job_id ) if request.tools: