Merged
Conversation
Align the chat example with an AI Studio-style layout and conversation-scoped controls while tightening tool-followup behavior and web ergonomics.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #58 +/- ##
=======================================
Coverage 76.37% 76.37%
=======================================
Files 65 65
Lines 7915 7915
=======================================
Hits 6045 6045
Misses 1870 1870
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces several updates to the chat app demo, focusing on UI/UX improvements, new model and conversation settings, and codebase organization. The most notable changes include enhancements to theming and layout, expanded configuration options for chat models, and the addition of a new
ChatConversationmodel. Below are the most important changes grouped by theme:UI/UX Improvements:
main.dartto use new color schemes, switched to theManropefont, set dark mode as default, and replaced the home screen withAppShellScreenfor a more modern look and feel. [1] [2]ChatScreento simplify the layout: removed the custom app bar, adjusted background gradients and widget positioning, and improved scroll behavior for smoother user experience. [1] [2] [3] [4] [5] [6]README.md.Model and Conversation Configuration:
ChatSettingsandModelPresetto support additional parameters such asminP,penalty,numberOfThreads,numberOfThreadsBatch,thinkingEnabled,thinkingBudgetTokens, andsingleTurnMode, allowing for more granular control of model behavior. [1] [2] [3] [4] [5] [6] [7]Codebase Organization:
ChatConversationmodel to encapsulate conversation state, including messages, settings, and metadata.chat_screen.dart, including support for custom model selection callbacks and navigation to a newManageModelsScreen. [1] [2] [3]These changes collectively improve the flexibility, maintainability, and user experience of the chat app demo.