Skip to content

Commit

Permalink
fix: api token representation
Browse files Browse the repository at this point in the history
  • Loading branch information
guenthermi committed Sep 20, 2024
1 parent 4511132 commit 99d9380
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def load_api_results():
url = 'https://api.jina.ai/v1/embeddings'
headers = {
'Content-Type': 'application/json',
'Authorization': os.environ['JINA_API_TOKEN'],
'Authorization': f'Bearer {os.environ["JINA_API_TOKEN"]}',
}
data = {
"model": "jina-embeddings-v3",
Expand Down

0 comments on commit 99d9380

Please sign in to comment.