feat: AI-output Markdown, live SSE fixes, faster builds
- render assistant Markdown with gpt_markdown (the same renderer dsh-Go uses): streaming, syntax-highlighted code with copy, tables, LaTeX and task lists, replacing flutter_markdown - fix the event stream: Dart's Map collapsed the repeated `types` query into one value, so only one event type was subscribed and chats never updated; build the query by hand - keep the optimistic prompt on failure out of the transcript and put the text back for a retry - clamp negative turn durations - build: Aliyun Maven mirrors, pre-seeded Gradle 9.5.0, and a complete NDK 28.2 install to avoid multi-hour downloads
This commit is contained in:
1 parent
aee560172c
commit
885a27c6a9
7 files changed
+186
-46
No files matched your search
+1
-1
@@ -13,9 +13,9 @@ dependencies:
|
||||
cupertino_icons: ^1.0.8
|
||||
shared_preferences: ^2.3.0
|
||||
flutter_secure_storage: ^11.2.0
|
||||
flutter_markdown: ^0.7.0
|
||||
file_picker: ^13.0.0
|
||||
path_provider: ^2.1.0
|
||||
gpt_markdown: ^1.4.0
|
||||
|
||||
dev_dependencies:
|
||||
flutter_test:
|
||||
|
||||
Reference in new issue
Block a user