Skip to content

fix for several input errors and a gemini function handling fix#140

Merged
csells merged 6 commits intoflutter:mainfrom
csells:input-improvements
Jul 13, 2025
Merged

fix for several input errors and a gemini function handling fix#140
csells merged 6 commits intoflutter:mainfrom
csells:input-improvements

Conversation

@csells
Copy link
Copy Markdown
Contributor

@csells csells commented Jul 13, 2025

  • Allow auto-focus overwrite on the LlmChatView for certain UX scenarios

  • Strip trailing newlines out of speech-to-text output (it was just ugly)

  • Allow provide your own speech-to-text implementation in case the built-in LLM-based solution is not cutting the mustard

  • Fixed the function calling implementation to handle multiple tool calls. This gives the FirebaseProvider the inner loop to keep calling functions requested by Gemini until it gets all the info it needs to provide its response.

  • Update edit canceling to reset the attachments and prompt.

issues fixed by this PR

If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy].

Pre-launch Checklist

  • I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
  • I read the [Tree Hygiene] wiki page, which explains my responsibilities.
  • I read the [Flutter Style Guide] recently, and have followed its advice.
  • I signed the [CLA].
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or this PR is [test-exempt].
  • All existing and new tests are passing.

@csells csells requested a review from domesticmouse July 13, 2025 21:37
@csells csells merged commit 68be8af into flutter:main Jul 13, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants