Skip to content

[BUG] Task export shows "Unexpected content type: thoughtSignature" #10199

@rossdonald

Description

@rossdonald

Problem (one or two sentences)

When exporting a task from a model that uses thought signatures like Gemini 3, then the markdown has the following:

[Tool Use: read_file]
Files: [
  {
    "path": "path/file.txt"
  }
]
[Unexpected content type: thoughtSignature]

return `[Unexpected content type: ${block.type}]`

I'm not sure what should be there. Thought signature is an opaque token so it's probably not relevant to the task export.

Context (who is affected and when)

Users who export tasks from models that use thought signatures.

Reproduction steps

Version: 3.36.13
Windows 11
Gemini 3 Flash, Google Gemini Provider

Expected result

No error is shown

Actual result

Shows an error

Variations tried (optional)

None

App Version

3.36.13

API Provider (optional)

Google Gemini

Model Used (optional)

gemini-3-flash-preview

Roo Code Task Links (optional)

No response

Relevant logs or errors (optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions