Fresh history cut from cynarAI/evoo antigravity-handoff/project-timeline (Voice First + project timeline). Brand docs/titles as evOo; keep @rakazo/* packages as tech debt. Excludes node_modules, caches, secrets, voice blobs.
14 lines
565 B
TypeScript
14 lines
565 B
TypeScript
export const OPENAI_COMPATIBLE_BASE_URL_HINT =
|
|
"Paste the OpenAI-compatible address from your server. Rakazo adds /v1 if needed.";
|
|
|
|
/** Connect when base URL and model id are set. */
|
|
export function openAiCompatibleConnectReady(input: { baseUrl: string; modelId: string }): boolean {
|
|
return Boolean(input.baseUrl.trim() && input.modelId.trim());
|
|
}
|
|
|
|
export function openAiCompatibleProbeSuccessMessage(modelCount: number): string {
|
|
return modelCount
|
|
? `Found ${modelCount} model${modelCount === 1 ? "" : "s"}.`
|
|
: "Server found. Enter a model name.";
|
|
}
|