07-agent-as-tool - agent-as-tools.ipynb - Sequential Agent Communication Pattern throws error
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 52/100
調査の方向性
Open 07-agent-as-tool/agent-as-tools.ipynb and inspect the research_assistant_2 example and the response handling described in the issue. Reproduce the error by calling research_assistant_2 with a query such as the Titanic example. Done when the call no longer raises the reported attribute error and the sequential agent communication example works.
索引モデルが issue の本文から書いたものです。
説明
07-agent-as-tool - agent-as-tools.ipynb - Sequential Agent Communication Pattern throws error.
There is no example offered to test the research_assistant_2 function. The next section shows an unrelated 'use_llm tool' example that loops endlessly. Not sure why that is there.
I created a cell to test research_assistant_2 tool:
query = "Can you do a research on the Titanic?"
research_assistant_2(query)
This throws an error: "Error in research assistant: 'dict' object has no attribute 'content'"
The suggested fix is to modify research_assistant_2 tool:
research_text = research_response.message.content[0]["text"]
Change to: research_text = research_response.message['content'][0]["text"]
summary_text = summary_response.message.content[0]["text"]
Change to: summary_text = summary_response.message['content'][0]["text"]
- 主要言語
- Python
- スター
- 897
- フォーク
- 450
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 9
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
strands-agents/samples のほかの issue
-
Deprecate direct references to `strands-agents/tools` in samples対応中かも @ikenyal が 21 日前に担当しました。 オープン
難易度 2/5 半日 初心者へのやさしさ 77/100
strands-agents/samples#338 ·
メンテナーはふだん 1 日以内に返信
-
[Bug] TypeScript samples install the SDK from GitHub and fail with "Cannot find package @strands-agents/sdk/index.js"対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
strands-agents/samples#314 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
strands-agents/samples#350 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
strands-agents/samples#331 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 53/100
strands-agents/samples#330 ·
メンテナーはふだん 1 日以内に返信
strands-agents/samples の issue をすべて見る
似ている issue
-
tests
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
[Plugin] 群聊记忆 · 人格养成オープン
難易度 1/5 1〜3時間 初心者へのやさしさ 74/100
-
bug maintainer-managed
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
awslabs/visual-asset-management-system#1759 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100