Skip to content

Gemini output is missing parts of text response #7203

@ekoeppen

Description

@ekoeppen

Describe the bug

Agent output is missing some text: The last couple of words of output appear to be missing.


To Reproduce
Steps to reproduce the behavior:

Open goose in the goose repo and prompt "Is there a readme here". Output is truncated, one example:

Yes, there is a `README.md` file in the current directory. There are also several other specialized documentation files, such as:

*   **AGENTS.md**: Specific instructions for the goose agent framework.
*   **CONTRIBUTING.md**: Guidelines for contributing to the project.
*   **installation.md**: Detailed installation instructions.
*   **GOVERNANCE.md**, **MAINTAINERS.md**, and **SECURITY.md**: Project

⏱️  Elapsed time: 7.35s
Context: ○○○○○○○○○○ 0% (3586/1048576 tokens)

Expected behavior

Text continues after the word "Project"


Please provide the following information

  • OS & Arch: macOS 26.2 arm64
  • Interface: CLI
  • Version: 1.24.0
  • Extensions enabled: Developer, Extension Manager
  • Provider & Model: GCP Vertex AI, gemini-3-flash-preview

Additional context

It appears that the last part of the agent response is in a thinking block, which got dropped when providing the response.

20260213_8.md

20260213_8.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions