-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix!: remove anthropic-beta and x-api-key headers from param types (#243
) This fixes a bug where the api key header would be removed unintentionally. # Migration These headers should not be passed as params; the SDK adds them for you. - If you were previously passing `'anthropic-beta': 'messages-2023-12-15'`, remove it. - If you were previously passing `'x-api-key': myKey`, pass it to the client as `apiKey` or as an environment variable instead. If you really need to pass these headers in a specific call, pass them as a header option.
- Loading branch information
1 parent
3d4b7e5
commit 8c63dd0
Showing
5 changed files
with
36 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters