mirror of
https://github.com/enricoros/big-AGI.git
synced 2026-05-10 21:50:14 -07:00
LLMs: Anthropic thinking models first
This commit is contained in:
@@ -180,16 +180,16 @@ export const llmAnthropicRouter = createTRPCRouter({
|
||||
if (!hardcodedModel.created && model.created_at)
|
||||
hardcodedModel.created = roundTime(model.created_at);
|
||||
|
||||
// add the base model
|
||||
acc.push(hardcodedModel);
|
||||
|
||||
// add a thinking variant, if defined
|
||||
// add FIRST a thinking variant, if defined
|
||||
if (hardcodedAnthropicVariants[model.id])
|
||||
acc.push({
|
||||
...hardcodedModel,
|
||||
...hardcodedAnthropicVariants[model.id],
|
||||
});
|
||||
|
||||
// add the base model
|
||||
acc.push(hardcodedModel);
|
||||
|
||||
} else {
|
||||
|
||||
// for day-0 support of new models, create a placeholder model using sensible defaults
|
||||
|
||||
Reference in New Issue
Block a user