Skip to content

fix(agent): advertise inline image display by surface - #1544

Merged
GCWing merged 1 commit into
GCWing:mainfrom
wgqqqqq:fix/issue-1538-inline-image-display
Jul 14, 2026
Merged

fix(agent): advertise inline image display by surface#1544
GCWing merged 1 commit into
GCWing:mainfrom
wgqqqqq:fix/issue-1538-inline-image-display

Conversation

@wgqqqqq

@wgqqqqq wgqqqqq commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • advertise inline Markdown image rendering only for Desktop/Web output surfaces
  • avoid exposing unsupported renderer guidance to CLI, ACP, bots, and headless sessions
  • route workspace image reads through explicit base64 encoding and remote connection context
  • key local image caches by remote connection and path to prevent cross-host collisions

Verification

  • pnpm --dir src/web-ui run test:run src/component-library/components/Markdown/Markdown.test.tsx
  • pnpm run type-check:web
  • cargo test -p bitfun-agent-runtime --test prompt_contracts
  • cargo test -p bitfun-agent-runtime output_surface
  • cargo test -p bitfun-desktop remote_file_bytes
  • cargo check --workspace

Fixes #1538

@GCWing
GCWing merged commit feb8cb2 into GCWing:main Jul 14, 2026
4 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.

feat: add image-display capability hint to system prompt for AI models

2 participants