2026-08-14 10:58:29 +08:00
|
|
|
# The dsh-image-recognition-bundle patch: an opt-in image-recognition surface
|
|
|
|
|
# over dsh-base. It is NOT part of any default profile's bundles list — a user
|
|
|
|
|
# opts in by adding this package to the profile's dsh.profile.bundles (or via
|
|
|
|
|
# `dsh plugin --profile <name> add @deepseek-ai/dsh-image-recognition-bundle`).
|
|
|
|
|
#
|
|
|
|
|
# The seam row pins the http provider; the provider row carries the credential
|
|
|
|
|
# reference the provider resolves per recognition; the consumer row toggles the
|
|
|
|
|
# deterministic image-task injection.
|
|
|
|
|
|
|
|
|
|
- insert:
|
|
|
|
|
- id: image-recognition
|
|
|
|
|
name: '@deepseek-ai/dsh-image-recognition'
|
|
|
|
|
config:
|
|
|
|
|
provider: http
|
|
|
|
|
|
|
|
|
|
- id: image-recognition-http
|
|
|
|
|
name: '@deepseek-ai/dsh-image-recognition-http'
|
|
|
|
|
config:
|
2026-08-14 23:01:15 +08:00
|
|
|
# Image recognition has its own credential plane, distinct from the
|
|
|
|
|
# chat model's. Pointing this at DEEPSEEK_API_KEY would let a save here
|
|
|
|
|
# overwrite the model's key (and vice versa); use the dedicated ref.
|
|
|
|
|
apiKeyEnv: IMAGE_RECOGNITION_API_KEY
|
2026-08-14 10:58:29 +08:00
|
|
|
|
|
|
|
|
- id: tool-image-recognition
|
|
|
|
|
name: '@deepseek-ai/dsh-tool-image-recognition'
|
|
|
|
|
config:
|
|
|
|
|
detectImageBlocks: true
|
|
|
|
|
detectImagePaths: true
|