goose icon indicating copy to clipboard operation
goose copied to clipboard

tool result must be preceeded by a tool call

Open salman1993 opened this issue 1 year ago • 2 comments

Describe the bug tool result must be preceeded by a tool call

Expected behavior A clear and concise description of what you expected to happen.

Screenshots Image

Please provide following information:

  • OS & Arch: [e.g. Ubuntu 22.04 x86]
  • Interface: UI
  • Version: [e.g. v1.0.2]
  • Extensions enabled: tavily
  • Provider & Model: Google

Additional context Add any other context about the problem here.

salman1993 avatar Feb 03 '25 22:02 salman1993

orginally posted in discord: https://discord.com/channels/1287729918100246654/1334153060447944789/1334164125688791074

salman1993 avatar Feb 04 '25 01:02 salman1993

We've seen this before and it is related to the state management in useChat. There are likely some edge cases still remaining. This fixed one class of errors for example #859

baxen avatar Feb 07 '25 06:02 baxen

@salman1993 @baxen do you have any examples to repro this? I haven't seen this in a while and it probably got fixed along the way

zakiali avatar Mar 25 '25 01:03 zakiali

Seems to be fixed in the latest

baxen avatar Jun 17 '25 05:06 baxen