Skip to content

Commit 543f874

Browse files
authored
[Workers AI] Models update (#24491)
1 parent 9fad7dd commit 543f874

File tree

3 files changed

+62
-72
lines changed

3 files changed

+62
-72
lines changed

src/content/workers-ai-models/dreamshaper-8-lcm.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@
1111
"created_at": "2024-02-27 17:40:38.881",
1212
"tags": [],
1313
"properties": [
14-
{
15-
"property_id": "beta",
16-
"value": "true"
17-
},
1814
{
1915
"property_id": "info",
2016
"value": "https://huggingface.co/Lykon/DreamShaper"

src/content/workers-ai-models/gpt-oss-120b.json

Lines changed: 33 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
"created_at": "2025-08-05 10:27:29.131",
1212
"tags": [],
1313
"properties": [
14+
{
15+
"property_id": "async_queue",
16+
"value": "true"
17+
},
1418
{
1519
"property_id": "context_window",
1620
"value": "128000"
@@ -37,45 +41,40 @@
3741
"title": "GPT_OSS_Responses",
3842
"properties": {
3943
"input": {
40-
"oneOf": [
44+
"anyOf": [
4145
{
4246
"type": "string"
4347
},
4448
{
45-
"type": "array",
46-
"items": {
47-
"type": "object",
48-
"properties": {
49-
"role": {
50-
"type": "string",
51-
"description": "The role of the message input. One of user, assistant, system, or developer.",
52-
"enum": [
53-
"user",
54-
"assistant",
55-
"system",
56-
"developer"
57-
]
58-
},
59-
"content": {
60-
"oneOf": [
61-
{
62-
"type": "string",
63-
"description": "The content of the message as a string."
64-
},
65-
{
66-
"type": "array",
67-
"description": "Refer to OpenAI Responses API docs to learn more about supported content types.",
68-
"items": {
69-
"type": "object",
70-
"properties": {}
71-
}
72-
}
73-
]
74-
}
75-
}
76-
}
49+
"items": {},
50+
"type": "array"
51+
}
52+
],
53+
"description": "Responses API Input messages. Refer to OpenAI Responses API docs to learn more about supported content types",
54+
"title": "Input"
55+
},
56+
"reasoning": {
57+
"type": "object",
58+
"properties": {
59+
"effort": {
60+
"type": "string",
61+
"description": "Constrains effort on reasoning for reasoning models. Currently supported values are low, medium, and high. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.",
62+
"enum": [
63+
"low",
64+
"medium",
65+
"high"
66+
]
67+
},
68+
"summary": {
69+
"type": "string",
70+
"description": "A summary of the reasoning performed by the model. This can be useful for debugging and understanding the model's reasoning process. One of auto, concise, or detailed.",
71+
"enum": [
72+
"auto",
73+
"concise",
74+
"detailed"
75+
]
7776
}
78-
]
77+
}
7978
}
8079
},
8180
"required": [

src/content/workers-ai-models/gpt-oss-20b.json

Lines changed: 29 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -37,45 +37,40 @@
3737
"title": "GPT_OSS_Responses",
3838
"properties": {
3939
"input": {
40-
"oneOf": [
40+
"anyOf": [
4141
{
4242
"type": "string"
4343
},
4444
{
45-
"type": "array",
46-
"items": {
47-
"type": "object",
48-
"properties": {
49-
"role": {
50-
"type": "string",
51-
"description": "The role of the message input. One of user, assistant, system, or developer.",
52-
"enum": [
53-
"user",
54-
"assistant",
55-
"system",
56-
"developer"
57-
]
58-
},
59-
"content": {
60-
"oneOf": [
61-
{
62-
"type": "string",
63-
"description": "The content of the message as a string."
64-
},
65-
{
66-
"type": "array",
67-
"description": "Refer to OpenAI Responses API docs to learn more about supported content types.",
68-
"items": {
69-
"type": "object",
70-
"properties": {}
71-
}
72-
}
73-
]
74-
}
75-
}
76-
}
45+
"items": {},
46+
"type": "array"
7747
}
78-
]
48+
],
49+
"description": "Responses API Input messages. Refer to OpenAI Responses API docs to learn more about supported content types",
50+
"title": "Input"
51+
},
52+
"reasoning": {
53+
"type": "object",
54+
"properties": {
55+
"effort": {
56+
"type": "string",
57+
"description": "Constrains effort on reasoning for reasoning models. Currently supported values are low, medium, and high. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.",
58+
"enum": [
59+
"low",
60+
"medium",
61+
"high"
62+
]
63+
},
64+
"summary": {
65+
"type": "string",
66+
"description": "A summary of the reasoning performed by the model. This can be useful for debugging and understanding the model's reasoning process. One of auto, concise, or detailed.",
67+
"enum": [
68+
"auto",
69+
"concise",
70+
"detailed"
71+
]
72+
}
73+
}
7974
}
8075
},
8176
"required": [

0 commit comments

Comments
 (0)