メインコンテンツまでスキップ

Function: findProviderCatalogEntry()

findProviderCatalogEntry(source): { adapterKind: "ai-horde" | "koboldai" | "novelai" | "openai-compatible" | "anthropic" | "text-completion"; apiKeyRequired: boolean; baseUrlEditable: boolean; defaultBaseUrl: string | null; id: "ai-horde" | "koboldai" | "novelai" | "openai-compatible" | "anthropic" | "text-completion" | "nanogpt" | "openai" | "deepseek" | "google-ai-studio" | "groq" | "fireworks-ai" | "cohere" | "mistralai" | "chutes" | "electron-hub" | "ooba" | "koboldcpp" | "vllm" | "ollama"; reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max")[]; samplerSupport: ("temperature" | "topP" | "topK" | "minP" | "topA" | "repetitionPenalty" | "frequencyPenalty" | "presencePenalty" | "seed" | "reasoning" | "reasoningEffort")[]; } | undefined

Defined in: provider-sdk/src/catalog.ts:133

Safely resolve an unknown persisted settings.source value.

Parameters

source

unknown

Returns

Type Literal

{ adapterKind: "ai-horde" | "koboldai" | "novelai" | "openai-compatible" | "anthropic" | "text-completion"; apiKeyRequired: boolean; baseUrlEditable: boolean; defaultBaseUrl: string | null; id: "ai-horde" | "koboldai" | "novelai" | "openai-compatible" | "anthropic" | "text-completion" | "nanogpt" | "openai" | "deepseek" | "google-ai-studio" | "groq" | "fireworks-ai" | "cohere" | "mistralai" | "chutes" | "electron-hub" | "ooba" | "koboldcpp" | "vllm" | "ollama"; reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max")[]; samplerSupport: ("temperature" | "topP" | "topK" | "minP" | "topA" | "repetitionPenalty" | "frequencyPenalty" | "presencePenalty" | "seed" | "reasoning" | "reasoningEffort")[]; }

adapterKind

adapterKind: "ai-horde" | "koboldai" | "novelai" | "openai-compatible" | "anthropic" | "text-completion"

apiKeyRequired

apiKeyRequired: boolean

baseUrlEditable

baseUrlEditable: boolean

defaultBaseUrl

defaultBaseUrl: string | null

id

id: "ai-horde" | "koboldai" | "novelai" | "openai-compatible" | "anthropic" | "text-completion" | "nanogpt" | "openai" | "deepseek" | "google-ai-studio" | "groq" | "fireworks-ai" | "cohere" | "mistralai" | "chutes" | "electron-hub" | "ooba" | "koboldcpp" | "vllm" | "ollama"

reasoningEfforts?

optional reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max")[]

Provider-level accepted reasoning effort values; models may expose a subset.

samplerSupport

samplerSupport: ("temperature" | "topP" | "topK" | "minP" | "topA" | "repetitionPenalty" | "frequencyPenalty" | "presencePenalty" | "seed" | "reasoning" | "reasoningEffort")[]


undefined