MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / returnToFreebuffLanding

Function returnToFreebuffLanding

cli/src/hooks/use-freebuff-session.ts:311–318  ·  view source on GitHub ↗
(
  opts: { resetChat?: boolean } = {},
)

Source from the content-addressed store, hash-verified

309 * silently re-queued for whatever model they last used.
310 */
311export function returnToFreebuffLanding(
312 opts: { resetChat?: boolean } = {},
313): Promise<void> {
314 return restartFreebuffSession('landing', {
315 resetChat: opts.resetChat,
316 releaseSlot: true,
317 })
318}
319
320/** Refresh picker-only metadata (quota and queue depths) while staying on the
321 * model selection screen. Used when a midnight-Pacific premium quota reset

Callers 3

ChatFunction · 0.90
SessionEndedBannerFunction · 0.90

Calls 1

restartFreebuffSessionFunction · 0.85

Tested by

no test coverage detected