mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-08 19:16:37 +08:00
// add max_tokens to vision model if (visionModel) { Object.defineProperty(requestPayload, "max_tokens", { enumerable: true, configurable: true, writable: true, value: 4096, }); } // value: modelConfig.max_tokens, |
||
---|---|---|
.. | ||
platforms | ||
api.ts | ||
controller.ts |