Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Diwank Tomer <diwank@julep.ai>
  • Loading branch information
Diwank Tomer authored and whiterabbit1983 committed Aug 16, 2024
1 parent 00edef7 commit a4e49a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions agents-api/agents_api/activities/truncation.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ def get_extra_entries(messages: list[Entry], token_count_threshold: int) -> list
@activity.defn
@beartype
async def truncation(session_id: str, token_count_threshold: int) -> None:
print(session_id, token_count_threshold)
session_id = UUID(session_id)

# delete_entries(
Expand Down
2 changes: 1 addition & 1 deletion agents-api/agents_api/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
temporal_client_cert: str = env.str("TEMPORAL_CLIENT_CERT", default=None)
temporal_private_key: str = env.str("TEMPORAL_PRIVATE_KEY", default=None)
temporal_endpoint = env.str("TEMPORAL_ENDPOINT", default="localhost:7233")
temporal_task_queue = env.str("TEMPORAL_TASK_QUEUE", default="memory-task-queue")
temporal_task_queue = env.str("TEMPORAL_TASK_QUEUE", default="julep-task-queue")


# Consolidate environment variables
Expand Down

0 comments on commit a4e49a0

Please sign in to comment.