Skip to content

When used with goose returns an empty list in the content field #2

@ch3rn0v

Description

@ch3rn0v

Here's an excerpt from the goose's log file:

{
      "role": "assistant",
      "tool_calls": [
        {
          "function": {
            "arguments": "{\"limit\":1,\"query\":\"current weather in NY\"}",
            "name": "web-search__search"
          },
          "id": "call_4mg7anfl",
          "type": "function"
        }
      ]
    },
    {
      "content": "[]",
      "role": "tool",
      "tool_call_id": "call_4mg7anfl"
    },

I expect the content to be a non-empty list or to get an error.
Am I doing something wrong? Another tool (like calling df -h in a console) worked fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions