Skip to content

Disable Trinity Large Thinking free and notify affected users#2621

Merged
arimesser merged 3 commits into
mainfrom
disable-trinity-large-thinking-free
Apr 20, 2026
Merged

Disable Trinity Large Thinking free and notify affected users#2621
arimesser merged 3 commits into
mainfrom
disable-trinity-large-thinking-free

Conversation

@kilo-code-bot

@kilo-code-bot kilo-code-bot Bot commented Apr 20, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Disables the free version of Arcee AI Trinity Large Thinking by setting its status to 'disabled' in arcee.ts. The model is intentionally kept in the kiloExclusiveModels array per the codebase convention: models should be set to 'disabled' first and only removed later when very few users are requesting it.
  • Adds an in-app notification (generateTrinityLargeThinkingNoLongerFreeNotification) for affected users, queried via PostHog cohort notification_trinity_large_thinking_no_longer_free_users. The notification informs users the free promotion has ended and suggests switching to the paid version or Kilo Auto Free. This follows the same pattern established by generateMimoNoLongerFreeNotification.

Verification

  • Verified the arcee.ts status change from 'public' to 'disabled'.
  • Verified the new notification function matches the generateMimoNoLongerFreeNotification pattern exactly (PostHog query, error handling, notification shape).
  • Verified the new generator is registered in the conditionalNotifications array.
  • Typecheck and format could not run locally due to missing node_modules/tooling in the sandbox environment; CI will validate.

Visual Changes

N/A

Reviewer Notes

  • The PostHog table notification_trinity_large_thinking_no_longer_free_users needs to be created before this goes live. Coordinate with the data team to populate it with users who have been using arcee-ai/trinity-large-thinking:free.
  • The notification uses suggestModelId: KILO_AUTO_FREE_MODEL.id (already imported in notifications.ts) to suggest Kilo Auto Free as an alternative.

Built for Ari Messer by Kilo for Slack

… users

Disable the free version of Trinity Large Thinking by setting its status
to 'disabled' (keeping it in kiloExclusiveModels per codebase convention).

Add an in-app notification for affected users (queried via PostHog)
suggesting they switch to the paid version or Kilo Auto Free, following
the same pattern as the MiMo deprecation notification.
@kilo-code-bot

kilo-code-bot Bot commented Apr 20, 2026

Copy link
Copy Markdown
Contributor Author

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (13 files)
  • apps/web/src/lib/ai-gateway/providers/arcee.ts
  • apps/web/src/lib/notifications.ts
  • apps/web/src/app/api/security-advisor/analyze/route.test.ts
  • apps/web/src/lib/security-advisor/__tests__/report-generator.test.ts
  • apps/web/src/lib/security-advisor/kiloclaw-mitigations.ts
  • apps/web/src/tests/openrouter-models-sorting.approved.json
  • services/kiloclaw/controller/src/atomic-write.test.ts
  • services/kiloclaw/controller/src/atomic-write.ts
  • services/kiloclaw/controller/src/bootstrap.test.ts
  • services/kiloclaw/controller/src/bootstrap.ts
  • services/kiloclaw/controller/src/config-writer.test.ts
  • services/kiloclaw/controller/src/config-writer.ts
  • services/kiloclaw/controller/src/routes/config.ts

Reviewed by gpt-5.4-20260305 · 721,310 tokens

@arimesser arimesser requested a review from chrarnoldus April 20, 2026 16:50
kilo-code-bot Bot added 2 commits April 20, 2026 18:10
Remove arcee-ai/trinity-large-thinking:free from the approval snapshot
since the model has been disabled in arcee.ts.
@arimesser

Copy link
Copy Markdown
Contributor

@chrarnoldus good to merge?

@arimesser arimesser requested a review from lambertjosh April 20, 2026 18:46

@lambertjosh lambertjosh left a comment

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.

Approving, although I didn't test the notification.

@arimesser arimesser merged commit f9302ea into main Apr 20, 2026
16 checks passed
@arimesser arimesser deleted the disable-trinity-large-thinking-free branch April 20, 2026 18:56
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