Spaces:
Sleeping
Sleeping
api_key set to anthropic
Browse files
config.py
CHANGED
@@ -13,7 +13,7 @@ import os
|
|
13 |
load_dotenv()
|
14 |
|
15 |
# API Configuration
|
16 |
-
API_KEY = os.getenv("
|
17 |
if not API_KEY:
|
18 |
print("⚠️ API key not found in .env file!")
|
19 |
|
@@ -29,4 +29,4 @@ MODEL_ID = os.getenv("MODEL_ID", "claude-sonnet-4-20250514")
|
|
29 |
|
30 |
|
31 |
# Initialize the model
|
32 |
-
model = LiteLLMModel(model_id=MODEL_ID, api_key=
|
|
|
13 |
load_dotenv()
|
14 |
|
15 |
# API Configuration
|
16 |
+
API_KEY = os.getenv("ANTHROPIC_API_KEY")
|
17 |
if not API_KEY:
|
18 |
print("⚠️ API key not found in .env file!")
|
19 |
|
|
|
29 |
|
30 |
|
31 |
# Initialize the model
|
32 |
+
model = LiteLLMModel(model_id=MODEL_ID, api_key=API_KEY)
|