Skip to content

Commit

Permalink
fixed stop sequence bug in anthropic
Browse files Browse the repository at this point in the history
  • Loading branch information
haouarihk committed Nov 28, 2024
1 parent 5aea4bc commit bedfd1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LLMProviders/langchain/chatanthropic.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default class LangchainChatAnthropicProvider
return this.cleanConfig({
anthropicApiKey: options.api_key,
anthropicApiUrl: options.basePath,
stopSequences: options.stop,
// stopSequences: options.stop,

// ------------Necessary stuff--------------
modelKwargs: options.modelKwargs,
Expand Down

0 comments on commit bedfd1d

Please sign in to comment.