Skip to content

WIP: add image model type support#381

Draft
sheepbox8646 wants to merge 1 commit intomainfrom
feat/image-model-type
Draft

WIP: add image model type support#381
sheepbox8646 wants to merge 1 commit intomainfrom
feat/image-model-type

Conversation

@sheepbox8646
Copy link
Copy Markdown
Member

Summary

  • add a first-class image model type with generate and edit compatibilities across the schema, backend model layer, and generated SDK
  • let generate_image use dedicated Twilight Images API models while keeping existing chat models with image-output selectable
  • update provider import, model management, and bot settings UI so image tools can pick either compatible chat models or dedicated image models

Test plan

  • go test ./internal/models ./internal/agent/tools ./internal/handlers
  • pre-commit checks during git commit (Go lint/test and frontend ESLint)
  • mise run build-unified
  • pnpm exec tsc --noEmit still reports existing packages/ui .vue module resolution errors unrelated to this change

Add a dedicated image model type so bots can use image API models without overloading chat model capabilities, while keeping existing chat-based image generation selectable.
@sheepbox8646 sheepbox8646 added feat New feature or request size-m labels Apr 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat New feature or request size-m

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant