mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-04-26 17:13:17 +00:00
should exit if API key isn't defined (#259)
* should exit if open-router and no api key
This commit is contained in:
parent
e3b7365f50
commit
478646622e
1 changed files with 1 additions and 1 deletions
|
|
@ -500,7 +500,7 @@ async def main_async():
|
|||
print("Warning: OPENROUTER_API_KEY environment variable is not set")
|
||||
print("Please set it using: export OPENROUTER_API_KEY=your-api-key")
|
||||
print("Or provide it directly with --api-key")
|
||||
print("Continuing without API key...")
|
||||
return 1
|
||||
|
||||
# Load configuration
|
||||
config_path = args.config
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue