feat(keyboard): unify assistant voice and AI workflows
Merge dictation and AI controls into one assistant surface, preserve safe insertion and clipboard actions, and align settings and tests with the new flow.
This commit is contained in:
@@ -43,7 +43,9 @@ final class AIQuestionServiceTests: XCTestCase {
|
||||
)
|
||||
|
||||
XCTAssertEqual(client.lastMessages?.last, .user(rawQuestion))
|
||||
XCTAssertTrue(client.lastMessages?.first?.content.contains("Reply in English.") == true)
|
||||
let systemPrompt = client.lastMessages?.first?.content ?? ""
|
||||
XCTAssertTrue(systemPrompt.contains("Reply in English"))
|
||||
XCTAssertTrue(systemPrompt.contains("explicitly asks for another output language"))
|
||||
}
|
||||
|
||||
func testAnswerDoesNotEnterContextUntilHostCommitsTerminalResult() async throws {
|
||||
|
||||
Reference in New Issue
Block a user