fix(ai): send stable session headers for OpenCode Go

This commit is contained in:
zhenhao committed 2026-09-07 15:07:22 +08:00
1 parent 1156362c3c
commit 3634f49a48
5 files changed
+192 -7

No files matched your search

+2
View File
@@ -117,6 +117,8 @@ export interface LegacyAIConfig {
}
export interface AIChatRequestOptions {
/** Stable ID shared by requests and retries belonging to one conversation or task. */
sessionId?: string
providerId?: string
modelId?: string
timeoutMs?: number