tools.0.web_search_20250305: Country code SG is not supported
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
src/anthropic/types/web_search_tool_20250305_param.py の UserLocation 定義と、提供された web_search_20250305 リクエストから始めます。Singapore (SG) のリクエストを再現し、コードコメントと API の 400 レスポンスを比較します。サポート対象国の挙動またはそのドキュメントが明確に確立されれば、issue は解決です。
索引モデルが issue の本文から書いたものです。
説明
According to code comment on UserLocation, country code in ISO_3166-1_alpha-2 are support but when testing with Singapore, it returns 400.
If not all countries listed in ISO_3166-1_alpha-2 are supported, where do we find the actually list of supported country? Thanks.
Tool
{
"type": "web_search_20250305",
"name": "web_search",
"user_location": {
"type": "approximate",
"country": "SG",
"city": "Singapore",
"region": "Singapore",
"timezone": "Asia/Singapore"
}
}
Error Message
BadRequestError: Error code: 400 - {'type': 'error', 'error': {'type': 'invalid_request_error', 'message': 'tools.0.web_search_20250305: Country code SG is not supported.'}}
- 主要言語
- Python
- スター
- 4k
- フォーク
- 892
- 平均マージ
- 5分
- マージ済み PR(30日)
- 5
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
anthropics/anthropic-sdk-python のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 61/100
anthropics/anthropic-sdk-python#2029 ·
メンテナーはふだん 1 日以内に返信
-
Fix test collection and execution errors on Windows (geteuid, FileStore skip, bedrock tempfile lock)対応中かも @prasad2512 が 2 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
anthropics/anthropic-sdk-python#2027 ·
メンテナーはふだん 1 日以内に返信
-
Three symlink tests in test_agent_toolset.py are missing the needs_symlinks marker対応中かも @okxint が 45 日前に担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
anthropics/anthropic-sdk-python#1915 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
Messages.parse (and AsyncMessages.parse) don't take cache_control?対応中かも @Alphaxiaoteng が 48 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
anthropics/anthropic-sdk-python#1907 ·
メンテナーはふだん 1 日以内に返信
-
Windows: os.fchmod in credential write-back bricks the OAuth refresh token対応中かも @OllieinCanada が 61 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
anthropics/anthropic-sdk-python#1868 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
anthropics/anthropic-sdk-python の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
-
[Bug]: Queen's own Ollama model loses num_ctx when a running session switches to it対応中かも @anasamin26 が今日担当しました。 オープンbug enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
aden-hive/hive#7508 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
llm translation
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
BerriAI/litellm#47884 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
bug 🐛
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
netalertx/NetAlertX#1856 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信