@budibase/pro 3.27.3 → 3.27.5

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.
@@ -1,20 +1,19 @@
1
1
  import { LLMConfigOptions } from "@budibase/types";
2
2
  import { OpenAI } from "./openai";
3
3
  import { default as OpenAIClient } from "openai";
4
- type LiteLLMFetch = (input: Parameters<typeof fetch>[0], init?: Parameters<typeof fetch>[1]) => ReturnType<typeof fetch>;
5
4
  type LiteLLMOpenAIConfig = {
6
5
  apiKey: string;
7
6
  baseUrl: string;
8
- fetch?: LiteLLMFetch;
7
+ sessionId?: string;
9
8
  };
10
9
  export declare class LiteLLMAI extends OpenAI {
11
10
  protected getClient(opts: LLMConfigOptions): OpenAIClient;
12
11
  }
13
12
  export declare const getLiteLLMProvider: (modelId: string) => string;
14
- export declare const getLiteLLMProviderOptions: () => {
13
+ export declare const getLiteLLMProviderOptions: (hasTools: boolean) => {
15
14
  openai: {
16
15
  parallelToolCalls: boolean;
17
16
  };
18
- };
17
+ } | undefined;
19
18
  export declare const createLiteLLMOpenAI: (config: LiteLLMOpenAIConfig) => import("@ai-sdk/openai").OpenAIProvider;
20
19
  export {};