@fluxbase/sdk 2026.1.1-rc.10 → 2026.1.1-rc.12
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/index.d.cts +8 -0
- package/dist/index.d.ts +8 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2215,6 +2215,8 @@ interface AIProvider {
|
|
|
2215
2215
|
is_default: boolean;
|
|
2216
2216
|
/** When true, this provider is explicitly used for embeddings. null means auto (follow default provider) */
|
|
2217
2217
|
use_for_embeddings: boolean | null;
|
|
2218
|
+
/** Embedding model for this provider. null means use provider-specific default */
|
|
2219
|
+
embedding_model: string | null;
|
|
2218
2220
|
enabled: boolean;
|
|
2219
2221
|
config: Record<string, string>;
|
|
2220
2222
|
/** True if provider was configured via environment variables or fluxbase.yaml */
|
|
@@ -2234,6 +2236,8 @@ interface CreateAIProviderRequest {
|
|
|
2234
2236
|
provider_type: AIProviderType;
|
|
2235
2237
|
is_default?: boolean;
|
|
2236
2238
|
enabled?: boolean;
|
|
2239
|
+
/** Embedding model for this provider. null or omit to use provider-specific default */
|
|
2240
|
+
embedding_model?: string | null;
|
|
2237
2241
|
config: Record<string, string | number | boolean>;
|
|
2238
2242
|
}
|
|
2239
2243
|
/**
|
|
@@ -2244,6 +2248,8 @@ interface UpdateAIProviderRequest {
|
|
|
2244
2248
|
display_name?: string;
|
|
2245
2249
|
config?: Record<string, string | number | boolean>;
|
|
2246
2250
|
enabled?: boolean;
|
|
2251
|
+
/** Embedding model for this provider. null to reset to provider-specific default */
|
|
2252
|
+
embedding_model?: string | null;
|
|
2247
2253
|
}
|
|
2248
2254
|
/**
|
|
2249
2255
|
* AI chatbot summary (list view)
|
|
@@ -2956,6 +2962,8 @@ interface EmbedRequest {
|
|
|
2956
2962
|
texts?: string[];
|
|
2957
2963
|
/** Embedding model to use (defaults to configured model) */
|
|
2958
2964
|
model?: string;
|
|
2965
|
+
/** Provider ID to use for embedding (admin-only, defaults to configured embedding provider) */
|
|
2966
|
+
provider?: string;
|
|
2959
2967
|
}
|
|
2960
2968
|
/**
|
|
2961
2969
|
* Response from vector embedding generation
|
package/dist/index.d.ts
CHANGED
|
@@ -2215,6 +2215,8 @@ interface AIProvider {
|
|
|
2215
2215
|
is_default: boolean;
|
|
2216
2216
|
/** When true, this provider is explicitly used for embeddings. null means auto (follow default provider) */
|
|
2217
2217
|
use_for_embeddings: boolean | null;
|
|
2218
|
+
/** Embedding model for this provider. null means use provider-specific default */
|
|
2219
|
+
embedding_model: string | null;
|
|
2218
2220
|
enabled: boolean;
|
|
2219
2221
|
config: Record<string, string>;
|
|
2220
2222
|
/** True if provider was configured via environment variables or fluxbase.yaml */
|
|
@@ -2234,6 +2236,8 @@ interface CreateAIProviderRequest {
|
|
|
2234
2236
|
provider_type: AIProviderType;
|
|
2235
2237
|
is_default?: boolean;
|
|
2236
2238
|
enabled?: boolean;
|
|
2239
|
+
/** Embedding model for this provider. null or omit to use provider-specific default */
|
|
2240
|
+
embedding_model?: string | null;
|
|
2237
2241
|
config: Record<string, string | number | boolean>;
|
|
2238
2242
|
}
|
|
2239
2243
|
/**
|
|
@@ -2244,6 +2248,8 @@ interface UpdateAIProviderRequest {
|
|
|
2244
2248
|
display_name?: string;
|
|
2245
2249
|
config?: Record<string, string | number | boolean>;
|
|
2246
2250
|
enabled?: boolean;
|
|
2251
|
+
/** Embedding model for this provider. null to reset to provider-specific default */
|
|
2252
|
+
embedding_model?: string | null;
|
|
2247
2253
|
}
|
|
2248
2254
|
/**
|
|
2249
2255
|
* AI chatbot summary (list view)
|
|
@@ -2956,6 +2962,8 @@ interface EmbedRequest {
|
|
|
2956
2962
|
texts?: string[];
|
|
2957
2963
|
/** Embedding model to use (defaults to configured model) */
|
|
2958
2964
|
model?: string;
|
|
2965
|
+
/** Provider ID to use for embedding (admin-only, defaults to configured embedding provider) */
|
|
2966
|
+
provider?: string;
|
|
2959
2967
|
}
|
|
2960
2968
|
/**
|
|
2961
2969
|
* Response from vector embedding generation
|