pprompt-optimizerSource ↗
24 declarations and 23 call references extracted from public source metadata.

Source symbols: packages/core/src/services/image/adapters/openrouter.ts

Deterministic, value-free symbol metadata extracted from public source. Implementations and literal values are not copied into this page.

  • Revision: develop@0c3679511d5c61dcdbb92777e62f315f16d7d378 · 2026-07-18T10:13:54Z
  • Declarations: 24
  • Referenced calls: 23

Declared symbols

  • OpenRouterImageAdapter — exported class at line 13; references normalizeBaseUrl, replace, test, getProvider, getModels, getModelsAsync, fetch, warn, json, includes, getTestImageRequest, split, ImageError, getParameterDefinitions, getDefaultParameterValues, doGenerate, isArray, apiCall, stringify, startsWith
  • trimmed — const at line 15; references replace, test, getProvider
  • apiKey — const at line 77; references fetch, warn, getModels, json, includes
  • response — const at line 80; references fetch
  • data — const at line 93; references json, includes
  • models — const at line 94; references includes
  • imageModels — const at line 97; references includes
  • outputModalities — const at line 99; references includes
  • inputModalities — const at line 103; references includes
  • supportsImageInput — const at line 104; references includes
  • messages — const at line 162
  • inputImages — const at line 169; references isArray
  • payload — const at line 189
  • response — const at line 197; references apiCall, stringify
  • choice — const at line 207; references ImageError
  • message — const at line 212; references startsWith, ImageError, split, match
  • images — const at line 213; references startsWith, ImageError, split, match
  • resultImages — const at line 216; references startsWith, ImageError, split, match
  • dataUrl — const at line 217; references startsWith, ImageError
  • mimeMatch — const at line 224; references match
  • mimeType — const at line 225
  • url — const at line 248; references resolveEndpointUrl, fetch, text, ImageError
  • response — const at line 249; references fetch, text, ImageError
  • errorText — const at line 253; references text, ImageError, json

Imported modules

  • ./abstract-adapter
  • ../errors
  • ../types
  • ../../../constants/error-codes

File-level call references


Source: packages/core/src/services/image/adapters/openrouter.ts

Generated by smolify with deterministic-repository-import-v2 · 1 source file
Source symbols: packages/core/src/services/image/adapters/openrouter.ts — prompt-optimizer · Smolify