Spaces:
Sleeping
Sleeping
AION Protocol Development
Claude
commited on
Commit
·
ce725ca
1
Parent(s):
951b6b3
fix: Update context_window config to match 64K limit
Browse filesCONSISTENCY FIX:
Updated MODEL_CONFIGS:
- context_window: 200000 → 64000 (matches max_tokens)
- Ensures UI displays correct limit
- Prevents confusion about capabilities
This aligns with commit 951b6b3 where max_tokens was limited to 64K.
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
app.py
CHANGED
|
@@ -21,7 +21,7 @@ MODEL_CONFIGS = {
|
|
| 21 |
"model": "claude-sonnet-4-20250514",
|
| 22 |
"api_key_env": "ANTHROPIC_API_KEY",
|
| 23 |
"cost_per_1M_tokens": 3.00,
|
| 24 |
-
"context_window":
|
| 25 |
"tier": "premium",
|
| 26 |
"description": "Best for complex architecture"
|
| 27 |
},
|
|
@@ -338,7 +338,7 @@ with gr.Blocks(
|
|
| 338 |
|
| 339 |
**Pure prompt evaluation:** Describe your requirements in detail. The AI will decide language, framework, and architecture based on your instructions.
|
| 340 |
|
| 341 |
-
**Context Window:**
|
| 342 |
""")
|
| 343 |
|
| 344 |
with gr.Row():
|
|
@@ -386,7 +386,7 @@ with gr.Blocks(
|
|
| 386 |
|
| 387 |
**Pure prompt evaluation:** Each model reads the same instructions and decides implementation details independently.
|
| 388 |
|
| 389 |
-
**Context Window:**
|
| 390 |
""")
|
| 391 |
|
| 392 |
with gr.Row():
|
|
|
|
| 21 |
"model": "claude-sonnet-4-20250514",
|
| 22 |
"api_key_env": "ANTHROPIC_API_KEY",
|
| 23 |
"cost_per_1M_tokens": 3.00,
|
| 24 |
+
"context_window": 64000,
|
| 25 |
"tier": "premium",
|
| 26 |
"description": "Best for complex architecture"
|
| 27 |
},
|
|
|
|
| 338 |
|
| 339 |
**Pure prompt evaluation:** Describe your requirements in detail. The AI will decide language, framework, and architecture based on your instructions.
|
| 340 |
|
| 341 |
+
**Context Window:** 64,000 tokens output
|
| 342 |
""")
|
| 343 |
|
| 344 |
with gr.Row():
|
|
|
|
| 386 |
|
| 387 |
**Pure prompt evaluation:** Each model reads the same instructions and decides implementation details independently.
|
| 388 |
|
| 389 |
+
**Context Window:** 64,000 tokens output per model
|
| 390 |
""")
|
| 391 |
|
| 392 |
with gr.Row():
|