mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 17:00:59 +00:00
feat: implement thinking for some more copilot models (#234)
Signed-off-by: StarLight842 <mail@aadishv.dev>
This commit is contained in:
parent
bab5cddd4d
commit
314ef34ebc
3 changed files with 49 additions and 16 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue