Skip to content
Closed
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
7 changes: 1 addition & 6 deletions apps/web/src/lib/ai-gateway/providers/openrouter/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,6 @@ export function shouldSuppressOpenRouterModel(model: KiloExclusiveModel): boolea
return model.status !== 'disabled' || model.pricing === null;
}

const unavailableModels = [
'sakana/fugu', // this model is not available in the EU
];

async function enhancedModelList(models: OpenRouterModel[]) {
const autoModels = buildAutoModels();
const endpointsMetadata = await getOpenRouterModelsMetadataFromDatabase();
Expand All @@ -152,8 +148,7 @@ async function enhancedModelList(models: OpenRouterModel[]) {
m => m.public_id === model.id && shouldSuppressOpenRouterModel(m)
) &&
!isForbiddenFreeModel(model.id) &&
!model.id.endsWith(':batch') &&
!unavailableModels.some(unavailableId => model.id.includes(unavailableId))
!model.id.endsWith(':batch')

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WARNING: Removed EU-availability filter without a replacement check

This change removes the unavailableModels filter, whose sole entry (sakana/fugu) was excluded with the comment "this model is not available in the EU". Deleting the filter exposes the model to all users, including those in the EU, with no indication in the PR that the underlying unavailability has been resolved on the OpenRouter side. If the model is still geo-restricted, EU users selecting it from the catalog will now hit request failures instead of never seeing it offered.

Please confirm the EU availability restriction no longer applies (e.g., via OpenRouter/Sakana), or reintroduce equivalent handling if it does.


Reply with @kilocode-bot fix it to have Kilo Code address this issue.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

intentional

)
.map(model => {
const preferredProvider = getPreferredProviderOrder(model.id).at(0);
Expand Down