Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(anthropic): langchain-anthropic support custom create anthropic client #6615

Merged
merged 5 commits into from
Sep 4, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove unnecessary assertion
  • Loading branch information
jacoblee93 committed Sep 4, 2024
commit 32330966cd19b5926c029cc915aec689fb2906d0
4 changes: 2 additions & 2 deletions libs/langchain-anthropic/src/chat_models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -606,10 +606,10 @@ export class ChatAnthropicMessages<
clientOptions: ClientOptions;

// Used for non-streaming requests
protected batchClient!: Anthropic;
protected batchClient: Anthropic;

// Used for streaming requests
protected streamingClient!: Anthropic;
protected streamingClient: Anthropic;

streamUsage = true;

Expand Down
Loading