Skip to content

Comments

Model-related cleanup#418

Merged
chrarnoldus merged 1 commit intomainfrom
christiaan/cleanup
Feb 20, 2026
Merged

Model-related cleanup#418
chrarnoldus merged 1 commit intomainfrom
christiaan/cleanup

Conversation

@chrarnoldus
Copy link
Contributor

No description provided.

@kiloconnect
Copy link
Contributor

kiloconnect bot commented Feb 20, 2026

Code Review Summary

Status: 1 Issue Found | Recommendation: Merge (minor cleanup)

Overview

Severity Count
CRITICAL 0
WARNING 0
SUGGESTION 1
Other Observations (not in diff)

Issues found in unchanged code that cannot receive inline comments:

File Line Issue
src/app/api/openrouter/[...path]/route.ts 160-161 SUGGESTION: Stale comment — the comment "Slackbot-only models are exempt from free model rate limits since they're already gated behind the Slack integration (internalApiUse auth)" references the slackbot-only concept that this PR removes. Should be deleted or updated.
Files Reviewed (13 files)
  • src/app/api/openrouter/[...path]/route.ts - Removed internalApiUse usage, slackbot-only model check, OPUS/SONNET aliases
  • src/components/cloud-agent-next/hooks/useResumeConfigModal.ts - Removed slackbot-only model resume logic
  • src/components/cloud-agent/hooks/useResumeConfigModal.ts - Removed slackbot-only model resume logic
  • src/lib/integrations/slack-service.ts - Changed Slack default model from opus slackbot to minimax M2.5
  • src/lib/models.ts - Removed deprecated models, isSlackbotOnlyModel, slackbot_only filter
  • src/lib/providerHash.test.ts - Updated test to use VERCEL_AI_GATEWAY instead of removed XAI provider
  • src/lib/providers/anthropic.ts - Removed dead code (strict tool use, isOpusModel, patchReadFileTool, feature flags)
  • src/lib/providers/index.ts - Removed INCEPTION, MINIMAX, STREAMLAKE, XAI providers and minimax settings
  • src/lib/providers/kilo-free-model.ts - Removed slackbot_only field from type
  • src/lib/providers/minimax.ts - Removed deprecated M2.1 model and applyMinimaxProviderSettings
  • src/lib/providers/provider-id.ts - Removed unused provider IDs (inception, minimax, novita, genlabs, streamlake, x-ai, anthropic)
  • src/lib/providers/vercel.ts - Removed deprecated model refs, broadened effort setting to all Anthropic models
  • src/lib/providers/zai.ts - Removed deprecated GLM 4.7 model

Fix these issues in Kilo Cloud

@chrarnoldus chrarnoldus merged commit 9925fdb into main Feb 20, 2026
12 checks passed
@chrarnoldus chrarnoldus deleted the christiaan/cleanup branch February 20, 2026 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants