opencoder
Version:
6 lines (5 loc) • 444 B
TypeScript
import type { AppContextType } from "@/app/context.js";
import { type EmbeddingModel } from "ai";
export declare const INTERRUPT_MESSAGE = "[Request interrupted by user]";
export declare const INTERRUPT_MESSAGE_FOR_TOOL_USE = "[Request interrupted by user for tool use]";
export declare function getSystemPrompt(config: AppContextType, lastMessage: string, codeBaseIndexEnabled: boolean, embeddingModel?: EmbeddingModel<any>): Promise<string>;