feat: cut over rust web main shell
This commit is contained in:
@@ -3,6 +3,12 @@ import type { OpenAiCompatibleChatMessage, OpenAiCompatibleChatOptions } from "@
|
||||
import { openAiCompatibleChat } from "@/lib/ai/openaiCompatibleChat";
|
||||
import { parseToolTagCalls, formatToolResultTag } from "../protocol/toolTagProtocol";
|
||||
|
||||
export const AI_AGENT_LEGACY_RUNTIME_CONTRACT = {
|
||||
runtimeRole: "legacy_compat",
|
||||
mainBridgeOwner: "rust-web-hermes",
|
||||
legacyEndpoint: "/api/ai-agent/run",
|
||||
} as const;
|
||||
|
||||
export type AgentChatFn = (
|
||||
messages: OpenAiCompatibleChatMessage[],
|
||||
cfg: OpenAiCompatibleChatOptions,
|
||||
|
||||
Reference in New Issue
Block a user