Skip to content

Commit

Permalink
Update docs/api-reference/Model Testing/model_testing.py
Browse files Browse the repository at this point in the history
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
  • Loading branch information
CoreyJness and ellipsis-dev[bot] authored Oct 26, 2024
1 parent 8ddd110 commit 782b135
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api-reference/Model Testing/model_testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# model testing
def test_openrouter_model():
url = "https://openrouter.ai/api/v1/chat/completions"
api_key = os.getenv("OPENROUTER_API_KEY")
api_key = os.getenv("OPENROUTER_API_KEY") or ''

# Set headers and payload for test
headers = {"Authorization": f"Bearer {api_key}", "Content-Type": "application/json"}
Expand Down

0 comments on commit 782b135

Please sign in to comment.