feat: implement thinking for some more copilot models (#234)

Signed-off-by: StarLight842 <mail@aadishv.dev>
This commit is contained in:
Aadish Verma 2025-12-18 19:42:23 -08:00 committed by GitHub
parent bab5cddd4d
commit 314ef34ebc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 49 additions and 16 deletions

View file

@ -318,7 +318,7 @@ async function loadModelsDevData(): Promise<Model<any>[]> {
if (m.status === "deprecated") continue;
// gpt-5 models require responses API, others use completions
const needsResponsesApi = modelId.startsWith("gpt-5");
const needsResponsesApi = modelId.startsWith("gpt-5") || modelId.startsWith("oswe");
const copilotModel: Model<any> = {
id: modelId,
@ -561,4 +561,4 @@ export const MODELS = {
}
// Run the generator
generateModels().catch(console.error);
generateModels().catch(console.error);