Commit eb6664b
Use max_completion_tokens for OpenAI
Keep the existing maxTokens configuration key for backward compatibility while sending OpenAI-compatible chat completion payloads with max_completion_tokens.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Kai Kreuzer <kai@openhab.org>1 parent 2676d1b commit eb6664b
1 file changed
Lines changed: 1 addition & 1 deletion
File tree
- bundles/org.openhab.binding.chatgpt/src/main/java/org/openhab/binding/chatgpt/internal/api/dto
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
0 commit comments