Chat: create an unnamed chat without a title; 24-hour Send later picker; capture fixtures
The repository refused a blank title before sending it, so clearing the Name failed with "Enter a chat name"; it now omits the title and only requires a directory. The Send later time picker uses the 24-hour clock of the Scheduled line. The capture fixture gains ?harnesses=1 (three harnesses, two folders) and ?tables=1 (wrapping, long-token and too-wide tables). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -252,6 +252,11 @@ void main() {
|
||||
'operation_id': 'create',
|
||||
},
|
||||
});
|
||||
// No name: the harness names the chat, so no title is sent.
|
||||
await repo.create(title: ' ', directory: '~', operationId: 'bare');
|
||||
expect(gateway.calls.last.fields, {
|
||||
'chat_create': {'directory': '~', 'operation_id': 'bare'},
|
||||
});
|
||||
await repo.selectModel('s', 'provider', 'model');
|
||||
expect(gateway.calls.last.type, 'chat_model');
|
||||
gateway.calls.clear();
|
||||
|
||||
Reference in New Issue
Block a user