Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions apps/web/src/lib/ai-gateway/forbidden-free-models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ const forbiddenFreeModelIds: ReadonlySet<string> = new Set([
'meta-llama/llama-3.2-3b-instruct:free',
'meta-llama/llama-3.3-70b-instruct:free',
'mistralai/mistral-small-3.1-24b-instruct:free',
'morph-warp-grep-v2',
'minimax/minimax-m2.1:free',
'minimax/minimax-m2.5:free',
'moonshotai/kimi-k2.5:free',
Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/lib/ai-gateway/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import { seed_20_code_free_model } from '@/lib/ai-gateway/providers/seed';
import type { KiloExclusiveModel } from '@/lib/ai-gateway/providers/kilo-exclusive-model';
import { MINIMAX_CURRENT_MODEL_ID } from '@/lib/ai-gateway/providers/minimax';
import { KIMI_CURRENT_MODEL_ID } from '@/lib/ai-gateway/providers/moonshotai';
import { morph_warp_grep_free_model } from '@/lib/ai-gateway/providers/morph';
import {
GEMINI_PRO_CURRENT_MODEL_ID,
gemma_4_26b_a4b_it_free_model,
Expand Down Expand Up @@ -84,7 +83,6 @@ export function isKiloExclusiveModel(model: string): boolean {

export const kiloExclusiveModels = [
gemma_4_26b_a4b_it_free_model,
morph_warp_grep_free_model,
seed_20_code_free_model,
...deepseekDiscountedModels,
qwen36_plus_stealth_model,
Expand Down
17 changes: 0 additions & 17 deletions apps/web/src/lib/ai-gateway/providers/morph.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { createMockResponse, mockOpenRouterModels } from '@/tests/helpers/openro
import type { OpenRouterModel } from '@/lib/organizations/organization-types';
import { qwen36_plus_stealth_model } from '@/lib/ai-gateway/providers/qwen';
import { seed_20_code_free_model } from '@/lib/ai-gateway/providers/seed';
import { morph_warp_grep_free_model } from '@/lib/ai-gateway/providers/morph';
import { gemma_4_26b_a4b_it_free_model } from '@/lib/ai-gateway/providers/google';
import {
findKiloExclusiveModel,
isDeadFreeModel,
Expand Down Expand Up @@ -166,8 +166,8 @@ describe('shouldSuppressOpenRouterModel', () => {
});

it('suppresses hidden Kilo-exclusive models from OpenRouter', () => {
expect(morph_warp_grep_free_model.status).toBe('hidden');
expect(shouldSuppressOpenRouterModel(morph_warp_grep_free_model)).toBe(true);
expect(gemma_4_26b_a4b_it_free_model.status).toBe('hidden');
expect(shouldSuppressOpenRouterModel(gemma_4_26b_a4b_it_free_model)).toBe(true);
});
});

Expand Down
7 changes: 0 additions & 7 deletions apps/web/src/lib/ai-gateway/providers/provider-definitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,6 @@ export default {
supportedChatApis: [],
transformRequest() {},
},
MORPH: {
id: 'morph',
apiUrl: 'https://api.morphllm.com/v1',
apiKey: getEnvVariable('MORPH_API_KEY'),
supportedChatApis: ['chat_completions'],
transformRequest() {},
},
VERCEL_AI_GATEWAY: {
id: 'vercel',
apiUrl: 'https://ai-gateway.vercel.sh/v1',
Expand Down
1 change: 0 additions & 1 deletion apps/web/src/lib/ai-gateway/providers/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ export type ProviderId =
| 'inception'
| 'martian'
| 'mistral'
| 'morph'
| 'vercel'
| 'custom'
| 'experiment'
Expand Down