mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 23:01:09 +03:00
add gpt 5
This commit is contained in:
@@ -865,6 +865,24 @@
|
|||||||
{
|
{
|
||||||
"name": "chatOpenAI",
|
"name": "chatOpenAI",
|
||||||
"models": [
|
"models": [
|
||||||
|
{
|
||||||
|
"label": "gpt-5",
|
||||||
|
"name": "gpt-5",
|
||||||
|
"input_cost": 0.00000125,
|
||||||
|
"output_cost": 0.00001
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "gpt-5-mini",
|
||||||
|
"name": "gpt-5-mini",
|
||||||
|
"input_cost": 0.00000025,
|
||||||
|
"output_cost": 0.000002
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "gpt-5-nano",
|
||||||
|
"name": "gpt-5-nano",
|
||||||
|
"input_cost": 0.00000005,
|
||||||
|
"output_cost": 0.0000004
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"label": "gpt-4.1",
|
"label": "gpt-4.1",
|
||||||
"name": "gpt-4.1",
|
"name": "gpt-4.1",
|
||||||
|
|||||||
@@ -280,7 +280,7 @@ class ChatOpenAI_ChatModels implements INode {
|
|||||||
streaming: streaming ?? true
|
streaming: streaming ?? true
|
||||||
}
|
}
|
||||||
|
|
||||||
if (modelName.includes('o3') || modelName.includes('o1')) {
|
if (modelName.includes('o3') || modelName.includes('o1') || modelName.includes('gpt-5')) {
|
||||||
delete obj.temperature
|
delete obj.temperature
|
||||||
}
|
}
|
||||||
if (modelName.includes('o1') || modelName.includes('o3')) {
|
if (modelName.includes('o1') || modelName.includes('o3')) {
|
||||||
|
|||||||
Reference in New Issue
Block a user