add: 添加chatgpt chat api逻辑

This commit is contained in:
taylor
2024-10-14 00:16:19 +08:00
parent 8c16faa34a
commit 0f7a2c4b33
4 changed files with 59 additions and 16 deletions

View File

@@ -19,12 +19,13 @@ platforms:
max_words: 1000
max_context_messages: 20
openai:
url:
url: https://api.openai.com
api_key:
model:
max_tokens:
max_words:
temperature:
model: gpt4o
max_tokens: 2000
max_words: 1000
max_context_messages: 20
temperature: 1
anthropic:
url:
api_key: