style(server): format the assistant proposal guard

The Server lint formatting check rejected the assistant agent and its regression test. Apply the repository Prettier configuration to those two files.
This commit is contained in:
Maurice
2026-12-02 01:39:56 +01:00
parent 103631d5fc
commit dacf19b4d5
2 changed files with 13 additions and 3 deletions
@@ -288,9 +288,18 @@ describe('runAgentLoop', () => {
it('holds one proposal when the model repeats the same packing item change in a step', async () => {
const t = setup([
[
{ type: 'tool-call', call: { id: 'first', name: 'create_packing_item', args: { name: 'Adapter', quantity: 2 } } },
{ type: 'tool-call', call: { id: 'repeat', name: 'create_packing_item', args: { quantity: 2, name: 'Adapter' } } },
{ type: 'tool-call', call: { id: 'other', name: 'create_packing_item', args: { name: 'Adapter', quantity: 3 } } },
{
type: 'tool-call',
call: { id: 'first', name: 'create_packing_item', args: { name: 'Adapter', quantity: 2 } },
},
{
type: 'tool-call',
call: { id: 'repeat', name: 'create_packing_item', args: { quantity: 2, name: 'Adapter' } },
},
{
type: 'tool-call',
call: { id: 'other', name: 'create_packing_item', args: { name: 'Adapter', quantity: 3 } },
},
],
]);