feat: openai model
This commit is contained in:
parent
727dc5968d
commit
877456adab
|
|
@ -7,10 +7,10 @@ return {
|
||||||
provider = 'openai',
|
provider = 'openai',
|
||||||
openai = {
|
openai = {
|
||||||
endpoint = 'https://api.openai.com/v1',
|
endpoint = 'https://api.openai.com/v1',
|
||||||
model = 'gpt-4o-mini',
|
model = 'gpt-4o',
|
||||||
timeout = 30000, -- timeout in milliseconds
|
timeout = 30000, -- timeout in milliseconds
|
||||||
temperature = 0, -- adjust if needed
|
temperature = 0, -- adjust if needed
|
||||||
max_tokens = 4096,
|
max_tokens = 8192,
|
||||||
-- reasoning_effort = "high" -- only supported for reasoning models (o1, etc.)
|
-- reasoning_effort = "high" -- only supported for reasoning models (o1, etc.)
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue