diff --git a/docs/my-website/index.md b/docs/my-website/index.md new file mode 100644 index 000000000..7d0698afe --- /dev/null +++ b/docs/my-website/index.md @@ -0,0 +1,25 @@ +--- +slug: welcome +title: Welcome +authors: [slorber, yangshun] +tags: [facebook, hello, docusaurus] +--- + +[Docusaurus blogging features](https://docusaurus.io/docs/blog) are powered by the [blog plugin](https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-content-blog). + +Simply add Markdown files (or folders) to the `blog` directory. + +Regular blog authors can be added to `authors.yml`. + +The blog post date can be extracted from filenames, such as: + +- `2019-05-30-welcome.md` +- `2019-05-30-welcome/index.md` + +A blog post folder can be convenient to co-locate blog post images: + +![Docusaurus Plushie](./docusaurus-plushie-banner.jpeg) + +The blog supports tags as well! + +**And if you don't want a blog**: just delete this directory, and use `blog: false` in your Docusaurus config. \ No newline at end of file diff --git a/litellm/llms/anthropic.py b/litellm/llms/anthropic.py index f586cc11f..bb6c22a12 100644 --- a/litellm/llms/anthropic.py +++ b/litellm/llms/anthropic.py @@ -27,7 +27,7 @@ class AnthropicLLM: # set the api key if self.api_key == None: raise ValueError("Missing Anthropic API Key - A call is being made to anthropic but no key is set either in the environment variables or via params") - + self.api_key = api_key self.headers = { "accept": "application/json", "anthropic-version": "2023-06-01",