Skip to content

[Feature] 加入原生build非流式选项 #40

Closed

Description

@ha7v

在当前的项目逻辑中,如果选择非流式只有付费模型才走 ProxyUnaryCall的真正原生非流式,免费模型(如 gemini-2.5-flash)被强制走流式。
请求加入新功能:增加一个可选项,可以让非流式请求可以真正调用build的原生非流式(即带 safetySettings: BLOCK_NONE 的原生单次 :generateContent 接口),不调用无法原生非流的playground,这对部分敏感内容防截断有很大的帮助。

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