-
Notifications
You must be signed in to change notification settings - Fork 7
feat(runtime):增加多模态机制 #322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
64e6bc1
feat(runtime\provider):初步重构多模态机制
phantom5099 0728dc6
fix(tui): remove legacy compatibility path and restore multimodal/ses…
xgopilot 6618ee6
fix(provider): validate parts and simplify message conversion
xgopilot 9bdd63a
Merge pull request #19 from phantom5099/fork-pr-315-1776306016
phantom5099 7107222
fix(runtime): align todo integration test with parts input
xgopilot c300874
Merge pull request #20 from phantom5099/fork-pr-315-1776306016
phantom5099 e874d44
merge(main): resolve PR #315 conflicts for runtime parts/todo integra…
xgopilot 13eec8c
Merge pull request #21 from phantom5099/fork-pr-315-1776306016
phantom5099 8472088
Merge remote-tracking branch 'upstream/main'
phantom5099 491af12
pref(runtime\provider):重构多模态机制
phantom5099 0232b2c
fix(provider): tighten multimodal part validation and empty message s…
xgopilot f917dbc
Merge pull request #22 from phantom5099/fork-pr-322-1776338584
phantom5099 26fc9d4
fix(multimodal): redact transcript image identifiers and tighten memo…
xgopilot 738ed47
Merge pull request #24 from phantom5099/fork-pr-322-1776338584
phantom5099 a154b10
fix(multimodal): preserve blocked input and validate blank image url
xgopilot 88414d5
Merge pull request #25 from phantom5099/fork-pr-322-1776345239
phantom5099 d27da6a
Merge branch 'main' into main
phantom5099 e3271a9
修复错误
phantom5099 5b7a8c0
test(pr322): fix tui compile break and increase multimodal coverage
xgopilot 8ac26e4
Merge pull request #26 from phantom5099/fork-pr-322-1776345239
phantom5099 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| package app | ||
|
|
||
| import ( | ||
| "strings" | ||
|
|
||
| providertypes "neo-code/internal/provider/types" | ||
| ) | ||
|
|
||
| func renderPartsForTest(parts []providertypes.ContentPart) string { | ||
| var builder strings.Builder | ||
| for _, part := range parts { | ||
| switch part.Kind { | ||
| case providertypes.ContentPartText: | ||
| builder.WriteString(part.Text) | ||
| case providertypes.ContentPartImage: | ||
| builder.WriteString("[Image]") | ||
| } | ||
| } | ||
| return builder.String() | ||
| } |
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.