Skip to content

feat(notifications): add in-app notification suggesting the free StepFun model - #7314

Merged
emilieschario merged 1 commit into
mainfrom
feat/stepfun-free-model-notification
Oct 10, 2026
Merged

emilieschario merged 1 commit into
mainfrom
feat/stepfun-free-model-notification

Conversation

@chrarnoldus

Copy link
Copy Markdown
Contributor

Summary

  • Adds an in-app notification to normalUnconditionalNotifications in apps/web/src/lib/notifications.ts announcing that StepFun Step 5 Preview is free in Kilo.
  • Sets suggestModelId: 'stepfun/step-5-preview-free', so the extension and CLI can offer the model directly. Follows the Nemotron and stealth Opus promo entries.
  • Targets extension and cli, matching the Nemotron promo.
  • expiresAt is 2026-10-22T08:00:00Z (two weeks out). This is a placeholder display window, not a confirmed end date for the free offer; adjust it if the free period is known.
  • Exports normalUnconditionalNotifications so a test can check the suggested model.

This PR does not depend on the preferred-list PR (#7312). The model ID is written as a literal, matching the existing entries, so this branch builds against main on its own.

Verification

  • apps/web/src/lib/notifications.test.ts passes (3/3), including a new check that the suggested model is a public free model in kiloExclusiveModels (isKiloExclusiveFreeModel).
  • apps/web tsgo --noEmit passes.
  • oxfmt --check and git diff --check clean.
  • Ran the suite with the repo's apps/web/.env.test and without the DB setup hooks; no Postgres is available in this environment.

@chrarnoldus chrarnoldus self-assigned this Oct 8, 2026
@kilo-code-bot

kilo-code-bot Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Executive Summary

Reviewed the new StepFun Step 5 Preview free-model notification and its test; the suggested model ID resolves to a public, free Kilo-exclusive model and the server-only import in the test is mocked by the Jest config.

Files Reviewed (2 files)
  • apps/web/src/lib/notifications.ts
  • apps/web/src/lib/notifications.test.ts

Reviewed by deepseek-v4.1-flash · Input: 61.8K · Output: 5.5K · Cached: 550.3K

Review guidance: REVIEW.md from base branch main

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