@fish-under-sea/magpie-dragonapi 1.0.7 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/catalog.mjs +1 -1
  2. package/package.json +1 -1
package/lib/catalog.mjs CHANGED
@@ -46,7 +46,7 @@ export function kindOf(row) {
46
46
  /** kindOutput 是 magpie 的 capabilities.output:分区靠它认。 */
47
47
  export function kindOutput(kind) {
48
48
  switch (kind) {
49
- case 'image': return { image: true, text: true }
49
+ case 'image': return { image: true, text: false }
50
50
  case 'video': return { video: true, text: true }
51
51
  case 'audio': return { audio: true, text: true }
52
52
  case 'embedding': return { embedding: true, text: true }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fish-under-sea/magpie-dragonapi",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "DragonAPI for magpie: a provider plugin whose models, groups and prices come from the site's public /api/pricing, with balance and per-call usage from an sk- key, plus a local page that lists the market (read-only), shows usage and can mint new keys for a group.",
5
5
  "type": "module",
6
6
  "main": "index.mjs",