fix: remove duplicate resp token on line 284 in run_coaching_session (#105)
This commit is contained in:
1 parent
9f5eb4a99f
commit
0aa57ab7d2
1 file changed
+1
-1
@@ -281,7 +281,7 @@ class CoachService:
|
||||
if not anthropic_key:
|
||||
raise ConnectionError("Anthropic API key not configured. Set ANTHROPIC_API_KEY env var.")
|
||||
aclient = anthropic.AsyncAnthropic(api_key=anthropic_key)
|
||||
resp resp = await aclient.messages.create(
|
||||
resp = await aclient.messages.create(
|
||||
model=ANTHROPIC_MODEL,
|
||||
system=system_prompt,
|
||||
messages=[{"role": "user", "content": user_prompt}],
|
||||
|
||||
Reference in new issue
Block a user