@budibase/pro 3.23.38 → 3.23.48

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ai/llm.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { ChatCompletionRequest, LLMConfigOptions, LLMProviderConfig, Message, ResponseFormat, Tool, WithRequired } from "@budibase/types";
1
+ import { ChatCompletionRequest, LLMConfigOptions, LLMProviderConfig, Message, ResponseFormat, WithRequired } from "@budibase/types";
2
2
  import openai from "openai";
3
3
  import { z } from "zod";
4
4
  import { LLM } from "./models/base";
@@ -10,11 +10,7 @@ export declare function getChatLLM(config: WithRequired<LLMConfigOptions, "baseU
10
10
  export declare function getOpenAIUsingLocalAPIKey(): Promise<LLM | undefined>;
11
11
  export declare class LLMRequest {
12
12
  messages: Message[];
13
- tools: Tool[];
14
13
  format?: ResponseFormat;
15
- addTool(tool: Tool): this;
16
- addTools(tools: Tool[]): this;
17
- findTool(name: string): Tool | undefined;
18
14
  withFormat(format: "text" | "json" | openai.ResponseFormatJSONSchema | z.ZodType): this;
19
15
  addMessage(message: Message): this;
20
16
  addMessages(messages: Message[]): this;
@@ -5,6 +5,7 @@ export declare function fetchAppBackups(appId: string, opts?: BackupFetchOpts):
5
5
  data: WorkspaceBackup[];
6
6
  hasNextPage: boolean;
7
7
  nextPage?: string;
8
+ totalRows: number;
8
9
  }>;
9
10
  export declare function storeAppBackupMetadata(metadata: WorkspaceBackupMetadata, opts?: {
10
11
  filename?: string;
@@ -6,4 +6,5 @@ export declare function pagination<T extends Document | RowValue>(response: AllD
6
6
  data: T[];
7
7
  hasNextPage: boolean;
8
8
  nextPage?: string;
9
+ totalRows: number;
9
10
  };