feat(keyboard): ship AI mode surface with streaming search answers
Add the AI keyboard tab, Agent settings, and user-owned LLM key path for 1.7.0, including streaming answers and web-search transports without the built-in DeepSeek fallback.
This commit is contained in:
@@ -32,6 +32,20 @@ final class FlowBudgetAndMergeTests: XCTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
func testAIKeyboardTimeoutOutlastsASRAndAnswerGeneration() {
|
||||
for engineMode in ["local", "cloud"] {
|
||||
let hostWorstCase = (engineMode == "local"
|
||||
? FlowSessionKeys.localASRWaitTimeout
|
||||
: FlowSessionKeys.cloudASRWaitTimeout)
|
||||
+ FlowSessionKeys.batchASRFallbackTimeout
|
||||
+ FlowSessionKeys.aiQuestionRequestTimeout
|
||||
XCTAssertGreaterThan(
|
||||
FlowSessionKeys.keyboardAIResultTimeout(engineMode: engineMode),
|
||||
hostWorstCase
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
// MARK: - SyncedField future-clock clamping
|
||||
|
||||
func testMergePrefersGenuinelyNewerRemote() {
|
||||
|
||||
Reference in New Issue
Block a user