[BIG FEATURE] Add image recognition fallback input flow#259
Open
musnows wants to merge 1 commit into
Open
Conversation
Collaborator
Author
67b9c8f to
99429fa
Compare
ba93a0d to
490aadb
Compare
490aadb to
369485d
Compare
2 tasks
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.

Summary
recognize_imagetool for local paths and URLs, plus runtime progress events shown in the chat UIRoot Cause / Behavior
Text-only models previously either rejected image attachments or relied on generic attachment fallback. This change lets users explicitly configure a multimodal recognition model so new eligible conversations can still attach or paste images while preserving historical conversation behavior by comparing the persisted enable time against the first user message time.
Validation
npm --prefix kun test -- tests/attachment-store.test.ts src/adapters/tool/image-recognition-tool-provider.test.tsnpm test -- src/renderer/src/lib/attachment-upload-availability.test.ts src/shared/app-settings.test.ts src/renderer/src/agent/kun-mapper.test.ts src/renderer/src/components/chat/MessageTimeline.tool-summary.test.ts src/renderer/src/components/settings-section-image-input.test.ts src/main/ipc/app-ipc-schemas.test.tsnpm --prefix kun run typechecknpm run typecheck