fix(openclaw): guide media attachments through ov_import#1946
Open
Mijamind719 wants to merge 1 commit intovolcengine:mainfrom
Open
fix(openclaw): guide media attachments through ov_import#1946Mijamind719 wants to merge 1 commit intovolcengine:mainfrom
Mijamind719 wants to merge 1 commit intovolcengine:mainfrom
Conversation
Clarify that OpenClaw media attachment paths should be passed to ov_import as local resource sources, and cover the temp_upload -> resources flow for local spreadsheet attachments. Co-authored-by: GPT-5.5 <noreply@openai.com>
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨No code suggestions found for the PR. |
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
Fixes #1945.
Fixes the local OpenClaw chat flow where an attached document like
[media attached: /path/to/file.xlsx ...]may fail to save to OpenViking because the model invents an unsupported upload endpoint instead of callingov_import.This PR:
ov_importtool description so OpenClaw media attachment paths are passed as thesource.xlsximport viatemp_upload -> resourcesTesting
Result: 2 test files passed, 73 tests passed.
Real E2E, 2026-05-09:
127.0.0.1:19633ov-import-e2eon127.0.0.1:19634[media attached: /var/folders/.../大秦-TOP20.xlsx (...)]ov_import; model called onlyov_importviking://resources/大秦-TOP20viking://resources/大秦-TOP20/大秦-TOP20.mdcontainsopenclaw chat e2e unique 2026-05-09Note: during local E2E I also found an OpenClaw core plugin-registry issue that can hide all plugin tools before
ov_importis visible. This PR covers the OpenViking plugin-side guidance once the tool is exposed.