Change default temperature to 1 for gpt-5 model support
This commit is contained in:
parent
030ba39296
commit
2c3c6111ee
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ export const loadOpenAIChatModels = async () => {
|
||||||
model: new ChatOpenAI({
|
model: new ChatOpenAI({
|
||||||
apiKey: openaiApiKey,
|
apiKey: openaiApiKey,
|
||||||
modelName: model.key,
|
modelName: model.key,
|
||||||
temperature: 0.7,
|
temperature: 1,
|
||||||
}) as unknown as BaseChatModel,
|
}) as unknown as BaseChatModel,
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue