ChatGPT-Next-Web/app/client/platforms
DirkSchlossmacher 94ea750137
Update openai.ts
// 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,
2024-04-16 22:01:55 +02:00
..
google.ts Add vision support (#4076) 2024-02-20 18:04:32 +08:00
openai.ts Update openai.ts 2024-04-16 22:01:55 +02:00