Skip to content

Commit

Permalink
fix: Convert content to the list of strings
Browse files Browse the repository at this point in the history
  • Loading branch information
whiterabbit1983 committed May 17, 2024
1 parent 1355341 commit a3eb98e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agents-api/agents_api/routers/agents/routers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a3eb98e

Please sign in to comment.