jostlebot Claude Opus 4.5 commited on
Commit
659ac32
·
1 Parent(s): ba6b5a1

Fix API key name back to anthropic_key

Browse files

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -550,9 +550,9 @@ STAGE_FOCUS = {
550
 
551
  def get_client():
552
  """Initialize Anthropic client"""
553
- api_key = os.environ.get("anthropoic_key")
554
  if not api_key:
555
- raise ValueError("anthropoic_key environment variable not set. Add it in Space Settings > Repository secrets.")
556
  return anthropic.Anthropic(api_key=api_key)
557
 
558
  def call_claude(system_prompt, messages, context=""):
 
550
 
551
  def get_client():
552
  """Initialize Anthropic client"""
553
+ api_key = os.environ.get("anthropic_key")
554
  if not api_key:
555
+ raise ValueError("anthropic_key environment variable not set. Add it in Space Settings > Repository secrets.")
556
  return anthropic.Anthropic(api_key=api_key)
557
 
558
  def call_claude(system_prompt, messages, context=""):