feat: support tool call

This commit is contained in:
Hk-Gosuto
2023-12-29 09:43:37 +08:00
parent d050fe636f
commit 8cdbc231ca
4 changed files with 99 additions and 50 deletions

View File

@@ -16,6 +16,7 @@ import { prettyObject } from "@/app/utils/format";
import { getClientConfig } from "@/app/config/client";
import Locale from "../../locales";
import { getServerSideConfig } from "@/app/config/server";
export class GeminiProApi implements LLMApi {
toolAgentChat(options: AgentChatOptions): Promise<void> {
throw new Error("Method not implemented.");