Changesets · Branches · Tags · Compare
| Changeset | 1b64a25f96831e441cf333af0f08d68fd85df8f1803d2be3f844fd56197d8af8 |
|---|---|
| Author | Nate <sestinj@gmail.com> · 2025-07-05 09:56 -07:00 |
| Committer | Nate <sestinj@gmail.com> · 2025-07-05 09:56 -07:00 |
| Parents | 070dc2895891 |
1 file changed
modified core/context/retrieval/pipelines/BaseRetrievalPipeline.ts +4 −2
| @@ -225,9 +225,11 @@ | ||
| 225 | 225 | .join(""); |
| 226 | 226 | const parsed = JSON.parse(responseContent); |
| 227 | 227 | toolCalls = parsed.tools || []; |
| 228 | - console.log("retrieveWithTools", toolCalls); | |
| 229 | 228 | } catch (e) { |
| 230 | - console.log("Failed to parse tool selection response", e); | |
| 229 | + console.log( | |
| 230 | + `Failed to parse tool selection response: ${toolSelectionResponse.content}\n\n`, | |
| 231 | + e, | |
| 232 | + ); | |
| 231 | 233 | return []; |
| 232 | 234 | } |
| 233 | 235 |