Skip to content

Commit

Permalink
Patch anthropic-version header. (#328)
Browse files Browse the repository at this point in the history
  • Loading branch information
rmitsch authored Oct 16, 2023
1 parent bfd862a commit 5c2b565
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[metadata]
version = 0.6.1
version = 0.6.2
description = Integrating LLMs into structured NLP pipelines
author = Explosion
author_email = [email protected]
Expand Down
2 changes: 1 addition & 1 deletion spacy_llm/models/rest/anthropic/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def __call__(self, prompts: Iterable[str]) -> Iterable[str]:
headers = {
**self._credentials,
"model": self._name,
"anthropic_version": self._config.get("anthropic_version", "2023-06-01"),
"anthropic-version": self._config.get("anthropic-version", "2023-06-01"),
"Content-Type": "application/json",
}

Expand Down

0 comments on commit 5c2b565

Please sign in to comment.