rollback to claude sonnet 3.5 and slight timeout changes

This commit is contained in:
Steve Androulakis
2025-02-25 08:23:09 -06:00
parent 72fddd0130
commit 6fc43a4593
2 changed files with 3 additions and 3 deletions

View File

@@ -198,7 +198,7 @@ class ToolActivities:
client = anthropic.Anthropic(api_key=api_key)
response = client.messages.create(
model="claude-3-7-sonnet-20250219", # replacing claude-3-5-sonnet-20241022
model="claude-3-5-sonnet-20241022", # todo try claude-3-7-sonnet-20250219
max_tokens=1024,
system=input.context_instructions
+ ". The current date is "

View File

@@ -12,9 +12,9 @@ from prompts.agent_prompt_generators import (
from shared.config import TEMPORAL_LEGACY_TASK_QUEUE
# Constants from original file
TOOL_ACTIVITY_START_TO_CLOSE_TIMEOUT = timedelta(seconds=10)
TOOL_ACTIVITY_START_TO_CLOSE_TIMEOUT = timedelta(seconds=12)
TOOL_ACTIVITY_SCHEDULE_TO_CLOSE_TIMEOUT = timedelta(minutes=30)
LLM_ACTIVITY_START_TO_CLOSE_TIMEOUT = timedelta(seconds=10)
LLM_ACTIVITY_START_TO_CLOSE_TIMEOUT = timedelta(seconds=12)
LLM_ACTIVITY_SCHEDULE_TO_CLOSE_TIMEOUT = timedelta(minutes=30)