kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
pull/693/head
rodzic
997755a4a9
commit
7b6ebc242a
|
@ -13,7 +13,7 @@ async function main() {
|
||||||
model: openai('gpt-4o-mini'),
|
model: openai('gpt-4o-mini'),
|
||||||
tools: createAISDKTools(weather),
|
tools: createAISDKTools(weather),
|
||||||
experimental_activeTools: Array.from(weather.functions).map(
|
experimental_activeTools: Array.from(weather.functions).map(
|
||||||
(fn) => fn.name
|
(fn) => fn.spec.name
|
||||||
),
|
),
|
||||||
toolChoice: 'required',
|
toolChoice: 'required',
|
||||||
temperature: 0,
|
temperature: 0,
|
||||||
|
|
Ładowanie…
Reference in New Issue