ソースを参照

feat: disable anthropic retry (#1067)

tags/0.3.19
takatost 2年前
コミット
d75e8aeafa
コミッターのメールアドレスに関連付けられたアカウントが存在しません
1個のファイルの変更1行の追加0行の削除
  1. 1
    0
      api/core/third_party/langchain/llms/anthropic_llm.py

+ 1
- 0
api/core/third_party/langchain/llms/anthropic_llm.py ファイルの表示

@@ -29,6 +29,7 @@ class AnthropicLLM(ChatAnthropic):
base_url=values["anthropic_api_url"],
api_key=values["anthropic_api_key"],
timeout=values["default_request_timeout"],
max_retries=0,
connection_pool_limits=Limits(max_connections=200, max_keepalive_connections=100),
)
values["async_client"] = anthropic.AsyncAnthropic(

読み込み中…
キャンセル
保存