diff --git a/k8s/curaflow-agent/deployment.yaml b/k8s/curaflow-agent/deployment.yaml index 8f6acae..345933b 100644 --- a/k8s/curaflow-agent/deployment.yaml +++ b/k8s/curaflow-agent/deployment.yaml @@ -33,7 +33,7 @@ spec: - name: ANTHROPIC_API_KEY value: "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" - name: LLM_MODEL - value: "claude-3-5-sonnet-20241022" + value: "claude-sonnet-4-6" resources: limits: cpu: 500m diff --git a/src/curaflow_agent/activities.py b/src/curaflow_agent/activities.py index 37bd934..e0d298f 100644 --- a/src/curaflow_agent/activities.py +++ b/src/curaflow_agent/activities.py @@ -200,7 +200,7 @@ async def parse_booking_intent_activity(chat_history: list[dict]) -> dict: try: print(f"Parsing intent for history:\n{history_str}") result = chain.invoke({"history": history_str}) - print(f"[Claude Response]: {result.json(indent=2)}") + print(f"[Claude Response]: {result.model_dump_json(indent=2) if hasattr(result, 'model_dump_json') else result.dict()}") return result.dict() except Exception as e: print(f"Failed to parse booking intent: {e}")