fmt(js): npm run fix on merge (#132458)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
hermes-seaeye[bot]
2026-10-03 20:52:38 +00:00
committed by GitHub
parent 595d29fd81
commit eb04406323
3 changed files with 6 additions and 1 deletions

View File

@@ -86,7 +86,9 @@ describe('model-status-label', () => {
it('keeps the model pill to name + speed tier; the effort lives on its own pill', () => {
expect(formatModelPillLabel('openai/gpt-5.5', { fastMode: true })).toBe('GPT-5.5 · Fast')
expect(formatModelPillLabel('openai/gpt-5.5', { fastMode: true, serviceTier: 'ultrafast' })).toBe('GPT-5.5 · Ultrafast')
expect(formatModelPillLabel('openai/gpt-5.5', { fastMode: true, serviceTier: 'ultrafast' })).toBe(
'GPT-5.5 · Ultrafast'
)
expect(formatModelPillLabel('anthropic/claude-opus-4.8-fast')).toBe('Opus 4.8 · Fast')
expect(formatModelPillLabel('openai/gpt-5.5')).toBe('GPT-5.5')
expect(formatModelPillLabel('')).toBe('No model')

View File

@@ -447,6 +447,7 @@ describe("a bot is named by its own backend, never by another bot's cached recor
it('the row shows the name its @handle uses when the backend title and display_name differ', () => {
$botMeta.set({})
const thin = {
...vps,
connectionLabel: 'VPS',

View File

@@ -847,9 +847,11 @@ async function fetchRosterSnapshot(activeConnectionId: null | string | undefined
* snapshot rather than clearing it. */
const previous: RosterRow[] = $lastRoster.get().filter(row => !row?.ghost)
const merged = mergeMultiSourceRoster(local, null, activeConnectionId, previous)
const profiles = (merged?.profiles || []).map(row =>
row?.remoteSource ? { ...row, sourceReachable: false } : row
)
await reconcileBotMeta(profiles, issuedAt)
return {