diff options
| author | Benjamin Michaelis <github@relay.benjamin.michaelis.net> | 2025-10-25 11:12:08 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-25 19:12:08 +0100 |
| commit | 046c29dcf1083f0ab89b080f7696e6d642a6bd17 (patch) | |
| tree | 76ecd012080781c87ce53f045721adfabe88019b /packages/shared-server/src/queues.ts | |
| parent | 8c0aae33b878827ca0978d9979bb4f2b51ef2f6e (diff) | |
| download | karakeep-046c29dcf1083f0ab89b080f7696e6d642a6bd17.tar.zst | |
fix: update OpenAI API to use max_completion_tokens instead of max_tokens (#2000)
* fix: update OpenAI API to use max_completion_tokens instead of max_tokens
The OpenAI API has deprecated max_tokens in favor of max_completion_tokens
for newer models. This change updates both text and image model calls.
* feat: add support for max_completion_tokens in OpenAI inference configuration
Diffstat (limited to 'packages/shared-server/src/queues.ts')
0 files changed, 0 insertions, 0 deletions
