Skip to content

Gemini Translator: To Set or Not To Set max_output_tokens? #512

Description

@winstonma

In gemini_translator.py, I see max_output_tokens is currently defined. Is it generally recommended to keep this set, or would the default behavior be preferable (e.g. gemini 3.1 flash lite have the default limit of 65536)?

I’m looking into max_output_tokens because I've noticed that full-chapter translations are occasionally being truncated when processed in a single API call.

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