Skip to content

Commit a689e9e

Browse files
kodster28thomasgauvin
authored andcommitted
[Bug] GPT oss not currently supported in playground (#24214)
1 parent 8ba38a7 commit a689e9e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/pages/workers-ai/models/[name].astro

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,13 @@ const isBeta = model.properties.find(
122122
({ property_id, value }) => property_id === "beta" && value === "true",
123123
);
124124
125-
const hasPlayground = model.task.name === "Text Generation";
125+
let hasPlayground = model.task.name === "Text Generation";
126+
127+
// temporary workaround for playground limitations
128+
if (model.name.includes("@cf/openai/gpt-oss") ) {
129+
hasPlayground = false;
130+
}
131+
126132
127133
const author = (authorData as any)[model.name.split("/")[1]];
128134

0 commit comments

Comments
 (0)