8000 Type changes needed to support include_thoughts: true · Issue #17 · Shuflduf/gemini-rs · GitHub
[go: up one dir, main page]

Skip to content
8000

Type changes needed to support include_thoughts: true #17

Open

Description

@dstoc

I was experimenting with thinking, specifically with include_thoughts:

thinking_config: Some(ThinkingConfig {
    thinking_budget: None,
    include_thoughts: Some(true),
}),

Ran into the following:

  1. thought: bool? is not exposed on Part, this is needed in order to filter thinking to a separate channel. Gemini documentation.
  2. candidates_token_count in UsageMetadata needs to be Option<u64> (currently just u64) - couldn't find documentation on this, but I was getting parse errors where this field was unset.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      0