Skip to content

feat(smith): accept native image input - #1328

Merged
edwin-zvs merged 1 commit into
mainfrom
smith-image-input
Sep 10, 2026
Merged

feat(smith): accept native image input#1328
edwin-zvs merged 1 commit into
mainfrom
smith-image-input

Conversation

@edwin-zvs

Copy link
Copy Markdown
Contributor

Summary

  • recognize explicit local PNG, JPEG, GIF, and WebP paths, including Construct file tokens and pasted attachment paths
  • snapshot image bytes into persisted Smith turns so retries and resume preserve the original input
  • translate images into native OpenAI-compatible, Anthropic, Gemini, Responses API, and Ollama request shapes
  • reject image-bearing turns and history clearly for text-only provider wires such as DeepSeek, with /reset recovery guidance
  • document the user flow and durable provider-boundary contract in spec 0214

Tests

  • cargo test -p construct-adapter-smith deepseek_dialect_is_explicitly_text_only
  • cargo test -p construct-adapter-smith image (11 passed)
  • cargo test -p construct-adapter-smith (241 passed)
  • cargo build
  • git diff --check

Visual evidence

Not useful for this change: it affects Smith input persistence and provider request serialization without adding a new visual UI surface.

@edwin-zvs
edwin-zvs merged commit b8554e9 into main Sep 10, 2026
1 check passed
@edwin-zvs
edwin-zvs deleted the smith-image-input branch September 10, 2026 05:17
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.

1 participant