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:
committed by
GitHub
parent
595d29fd81
commit
eb04406323
@@ -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')
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user