diff --git a/setup.cfg b/setup.cfg index 24d57974..c1d91c9e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [metadata] -version = 0.6.1 +version = 0.6.2 description = Integrating LLMs into structured NLP pipelines author = Explosion author_email = contact@explosion.ai diff --git a/spacy_llm/models/rest/anthropic/model.py b/spacy_llm/models/rest/anthropic/model.py index 4c2567f2..602ba14b 100644 --- a/spacy_llm/models/rest/anthropic/model.py +++ b/spacy_llm/models/rest/anthropic/model.py @@ -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", }