We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 196e2b5 commit 50b236cCopy full SHA for 50b236c
src/app/api/fim/completions/route.ts
@@ -43,10 +43,10 @@ function resolveFimProvider(model: string): {
43
upstreamUrl: MISTRAL_FIM_URL,
44
};
45
}
46
- if (model === 'inception/mercury-edit') {
+ if (model.startsWith('inception/')) {
47
return {
48
provider: 'inception',
49
- upstreamModel: 'mercury-edit',
+ upstreamModel: model.slice('inception/'.length),
50
upstreamUrl: INCEPTION_FIM_URL,
51
52
0 commit comments