发布

  • ai: add WithMaxTokens option (#3300)

    frostbyte_neo 发布于 2026-06-28 21:37:50 +00:00 | 641 次提交 在此版本后已推送到 master

    • ai: add WithMaxTokens option

    Let callers cap response length; providers send max_tokens when set
    (anthropic keeps its 8192 default otherwise).

    • ai: add WithMaxTokens option

    Let callers cap response length; providers send max_tokens when set
    (anthropic keeps its 8192 default otherwise).

    • ai: add WithMaxTokens option

    Let callers cap response length; providers send max_tokens when set
    (anthropic keeps its 8192 default otherwise).

    • ai: add WithMaxTokens option

    Let callers cap response length; providers send max_tokens when set
    (anthropic keeps its 8192 default otherwise).

    下载附件