Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Conversational Agents: Tool output not empty but Agent's is.

I have an issue relating to tool outputs not being propagated to the agent context: empty '-{}' tool output in debug trace.

Tried:

  • confirmed openAPI schema
  • query in postman OK, same issue (date matches meaning it is indeed live data being fetched)

Error: There are no traces of the tool output in the Debug Trace, nor logging (filtered 'dialogflow') nor errors in Conversational Agents.
Relevant code:
Here is the debug trace of the agent:

 

 

customer: Can you look for exchange with information REDACTED

action: pb^user_has_key_value
input: Customer wants to look for an exchange with information REDACTED

Got action "pb^user_has_key_value" from LLM, invoking the playbook to get the output.

Transitioned to playbook "user_has_key_value" with context.

context: Customer wants to look for an exchange with information REDACTED

action: exchanges_listExchanges
input:
  after: 2024-12-05T19:30:00.594494+01:00
  informations: REDACTED
  limit: 5
output:
- {
  }

 

 

The response output is of format : 

 

 

 

"components": {
        "schemas": {
            "Error": {
                "title": "Root Type for Error",
                "description": "Generic error.",
                "type": "object"
            },
            "ExchangeTrace": {
                "title": "Root Type for Exchange",
                "description": "Trace of an exchange.",
                "required": [
                    "id",
                    "start",
                    "state"
                ],
                "type": "object"
            }
        }
    },

[...]

                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "array",
                                    "items": {
                                        "$ref": "#/components/schemas/ExchangeTrace"
                                    }
                                }
                            }
                        },
                        "description": "Success."
                    }
                },

Has anyone encountered this issue or has any idea of how to fix this behavior/bug ?

 

0 0 108
0 REPLIES 0