Skip to content

Commit

Permalink
hotfix(agents-api): fix in docs routes
Browse files Browse the repository at this point in the history
  • Loading branch information
HamadaSalhab committed Jan 11, 2025
1 parent 0509485 commit ffb934d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions agents-api/agents_api/routers/docs/create_doc.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ async def create_agent_doc(
agent_id: UUID,
data: CreateDocRequest,
x_developer_id: Annotated[UUID, Depends(get_developer_id)],
connection_pool: Any = None, # FIXME: Placeholder that should be removed
) -> ResourceCreatedResponse:
doc: Doc = await create_doc_query(
developer_id=x_developer_id,
Expand Down
2 changes: 2 additions & 0 deletions agents-api/agents_api/routers/docs/search_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ async def search_agent_docs(
x_developer_id: Annotated[UUID, Depends(get_developer_id)],
search_params: (TextOnlyDocSearchRequest | VectorDocSearchRequest | HybridDocSearchRequest),
agent_id: UUID,
connection_pool: Any = None, # FIXME: Placeholder that should be removed

) -> DocSearchResponse:
"""
Searches for documents associated with a specific agent.
Expand Down

0 comments on commit ffb934d

Please sign in to comment.