From 0aa57ab7d224d7699281e742deb4d302dc474170 Mon Sep 17 00:00:00 2001 From: KoalaTrapLord <265133236+KoalaTrapLord@users.noreply.github.com> Date: Thu, 26 Mar 2026 14:23:52 -0400 Subject: [PATCH] fix: remove duplicate resp token on line 284 in run_coaching_session (#105) --- coach/coach_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coach/coach_service.py b/coach/coach_service.py index 1cd4321..f6ac10e 100644 --- a/coach/coach_service.py +++ b/coach/coach_service.py @@ -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}],