This commit is contained in:
2026-05-13 10:18:54 +03:00
parent cd8d2683c0
commit c5b61ee3d8
38 changed files with 3929 additions and 3718 deletions
+9 -1
View File
@@ -15,7 +15,15 @@ export function getOpenAITools(): AiTool[] {
}));
}
export function getOpenAIResponsesTools(): any[] {
export type OpenAiResponseTool = {
type: "function";
name: string;
description?: string;
parameters?: unknown;
strict: false;
};
export function getOpenAIResponsesTools(): OpenAiResponseTool[] {
return getTools().map(tool => ({
type: "function",
name: tool.function.name,