mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-03 02:11:48 +00:00
fix(review): address copilot review
This commit is contained in:
parent
a0b62e0c5a
commit
082acc75b0
4 changed files with 15 additions and 6 deletions
|
|
@ -1,6 +1,7 @@
|
|||
import { beforeEach, describe, expect, it, vi } from 'vitest'
|
||||
|
||||
import { createSlashHandler } from '../app/createSlashHandler.js'
|
||||
import { TUI_SESSION_MODEL_FLAG } from '../domain/slash.js'
|
||||
import { getOverlayState, resetOverlayState } from '../app/overlayStore.js'
|
||||
import { getUiState, patchUiState, resetUiState } from '../app/uiStore.js'
|
||||
|
||||
|
|
@ -55,7 +56,7 @@ describe('createSlashHandler', () => {
|
|||
|
||||
expect(
|
||||
createSlashHandler(ctx)(
|
||||
'/model anthropic/claude-sonnet-4.6 --provider openrouter --tui-session'
|
||||
`/model anthropic/claude-sonnet-4.6 --provider openrouter ${TUI_SESSION_MODEL_FLAG}`
|
||||
)
|
||||
).toBe(true)
|
||||
expect(ctx.gateway.rpc).toHaveBeenCalledWith('config.set', {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue