Skip to content

Commit

Permalink
fix(agents-api): Minor fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Diwank Singh Tomer <[email protected]>
  • Loading branch information
creatorrr committed Dec 19, 2024
1 parent e158f3a commit ca5f4e2
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions agents-api/agents_api/activities/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ def get_handler(system: SystemDef) -> Callable:
from ..models.docs.delete_doc import delete_doc as delete_doc_query
from ..models.docs.list_docs import list_docs as list_docs_query
from ..models.session.create_session import create_session as create_session_query
from ..models.session.delete_session import delete_session as delete_session_query
from ..models.session.get_session import get_session as get_session_query
from ..models.session.list_sessions import list_sessions as list_sessions_query
from ..models.session.update_session import update_session as update_session_query
Expand Down
2 changes: 0 additions & 2 deletions agents-api/agents_api/queries/sessions/create_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@

from ...autogen.openapi_model import (
CreateSessionRequest,
ResourceCreatedResponse,
Session,
)
from ...common.utils.datetime import utcnow
from ...metrics.counters import increase_counter
from ..utils import partialclass, pg_query, rewrap_exceptions, wrap_in_class

Expand Down
1 change: 0 additions & 1 deletion agents-api/tests/fixtures.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import random
import string
import time
from uuid import UUID

from fastapi.testclient import TestClient
Expand Down
1 change: 0 additions & 1 deletion agents-api/tests/test_session_queries.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
CreateOrUpdateSessionRequest,
CreateSessionRequest,
PatchSessionRequest,
ResourceCreatedResponse,
ResourceDeletedResponse,
ResourceUpdatedResponse,
Session,
Expand Down

0 comments on commit ca5f4e2

Please sign in to comment.