Skip to content

Commit

Permalink
refactor(agents-api): Remove unnecessary stuff
Browse files Browse the repository at this point in the history
Signed-off-by: Diwank Tomer <[email protected]>
  • Loading branch information
Diwank Tomer committed Aug 14, 2024
1 parent 5007d7b commit c5f3cec
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 407 deletions.
118 changes: 0 additions & 118 deletions agents-api/agents_api/activities/dialog_insights.py

This file was deleted.

102 changes: 0 additions & 102 deletions agents-api/agents_api/activities/relationship_summary.py

This file was deleted.

91 changes: 0 additions & 91 deletions agents-api/agents_api/activities/salient_questions.py

This file was deleted.

6 changes: 4 additions & 2 deletions agents-api/agents_api/activities/task_steps/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
UpdateExecutionRequest,
YieldStep,
)
from ...clients.litellm import acompletion
from ...clients import (
litellm, # We dont directly import `acompletion` so we can mock it
)
from ...clients.worker.types import ChatML
from ...common.protocol.tasks import (
StepContext,
Expand Down Expand Up @@ -57,7 +59,7 @@ async def prompt_step(context: StepContext) -> dict:

settings: dict = context.definition.settings.model_dump()
# Get settings and run llm
response = await acompletion(
response = await litellm.acompletion(
messages=messages,
**settings,
)
Expand Down
Loading

0 comments on commit c5f3cec

Please sign in to comment.