Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
brilee committed Feb 20, 2024
1 parent dade5df commit a83e3e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lilac/garden_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ def _call_garden(endpoint_name: str, docs: list[Any], **kwargs: Any) -> Iterator
data=json.dumps(docs),
params={k: str(v) for k, v in kwargs.items()},
headers={
'Authorization': 'Bearer %s' % lilac_api_key,
'X-Lilac-RowCount': str(len(docs)),
'Authorization': f'Bearer {lilac_api_key}',
'X-Lilac-DocCount': str(len(docs)),
},
stream=True,
) as response:
Expand Down

0 comments on commit a83e3e3

Please sign in to comment.