langsmith 0.5.24 → 0.5.25
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/client.cjs +3 -1
- package/dist/client.js +3 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/schemas.d.ts +4 -0
- package/package.json +1 -1
package/dist/client.cjs
CHANGED
|
@@ -1199,7 +1199,7 @@ class Client {
|
|
|
1199
1199
|
const response = await this.caller.call(async () => {
|
|
1200
1200
|
const res = await this._fetch(`${this.apiUrl}/info`, {
|
|
1201
1201
|
method: "GET",
|
|
1202
|
-
headers: { Accept: "application/json" },
|
|
1202
|
+
headers: { ...this._mergedHeaders, Accept: "application/json" },
|
|
1203
1203
|
signal: AbortSignal.timeout(SERVER_INFO_REQUEST_TIMEOUT_MS),
|
|
1204
1204
|
...this.fetchOptions,
|
|
1205
1205
|
});
|
|
@@ -4490,6 +4490,8 @@ class Client {
|
|
|
4490
4490
|
commit_hash: result.commit_hash,
|
|
4491
4491
|
manifest: result.manifest,
|
|
4492
4492
|
examples: result.examples,
|
|
4493
|
+
hub_model_config: result.model_config,
|
|
4494
|
+
hub_model_provider: result.model_provider,
|
|
4493
4495
|
};
|
|
4494
4496
|
}
|
|
4495
4497
|
async pullPromptCommit(promptIdentifier, options) {
|
package/dist/client.js
CHANGED
|
@@ -1161,7 +1161,7 @@ export class Client {
|
|
|
1161
1161
|
const response = await this.caller.call(async () => {
|
|
1162
1162
|
const res = await this._fetch(`${this.apiUrl}/info`, {
|
|
1163
1163
|
method: "GET",
|
|
1164
|
-
headers: { Accept: "application/json" },
|
|
1164
|
+
headers: { ...this._mergedHeaders, Accept: "application/json" },
|
|
1165
1165
|
signal: AbortSignal.timeout(SERVER_INFO_REQUEST_TIMEOUT_MS),
|
|
1166
1166
|
...this.fetchOptions,
|
|
1167
1167
|
});
|
|
@@ -4452,6 +4452,8 @@ export class Client {
|
|
|
4452
4452
|
commit_hash: result.commit_hash,
|
|
4453
4453
|
manifest: result.manifest,
|
|
4454
4454
|
examples: result.examples,
|
|
4455
|
+
hub_model_config: result.model_config,
|
|
4456
|
+
hub_model_provider: result.model_provider,
|
|
4455
4457
|
};
|
|
4456
4458
|
}
|
|
4457
4459
|
async pullPromptCommit(promptIdentifier, options) {
|
package/dist/index.cjs
CHANGED
|
@@ -18,4 +18,4 @@ Object.defineProperty(exports, "PromptCache", { enumerable: true, get: function
|
|
|
18
18
|
Object.defineProperty(exports, "configureGlobalPromptCache", { enumerable: true, get: function () { return index_js_1.configureGlobalPromptCache; } });
|
|
19
19
|
Object.defineProperty(exports, "promptCacheSingleton", { enumerable: true, get: function () { return index_js_1.promptCacheSingleton; } });
|
|
20
20
|
// Update using pnpm bump-version
|
|
21
|
-
exports.__version__ = "0.5.
|
|
21
|
+
exports.__version__ = "0.5.25";
|
package/dist/index.d.ts
CHANGED
|
@@ -5,4 +5,4 @@ export { overrideFetchImplementation } from "./singletons/fetch.js";
|
|
|
5
5
|
export { getDefaultProjectName } from "./utils/project.js";
|
|
6
6
|
export { uuid7, uuid7FromTime } from "./uuid.js";
|
|
7
7
|
export { Cache, PromptCache, type CacheConfig, type CacheMetrics, configureGlobalPromptCache, promptCacheSingleton, } from "./utils/prompt_cache/index.js";
|
|
8
|
-
export declare const __version__ = "0.5.
|
|
8
|
+
export declare const __version__ = "0.5.25";
|
package/dist/index.js
CHANGED
|
@@ -5,4 +5,4 @@ export { getDefaultProjectName } from "./utils/project.js";
|
|
|
5
5
|
export { uuid7, uuid7FromTime } from "./uuid.js";
|
|
6
6
|
export { Cache, PromptCache, configureGlobalPromptCache, promptCacheSingleton, } from "./utils/prompt_cache/index.js";
|
|
7
7
|
// Update using pnpm bump-version
|
|
8
|
-
export const __version__ = "0.5.
|
|
8
|
+
export const __version__ = "0.5.25";
|
package/dist/schemas.d.ts
CHANGED
|
@@ -398,6 +398,10 @@ export interface PromptCommit {
|
|
|
398
398
|
manifest: Record<string, any>;
|
|
399
399
|
examples: Array<Record<any, any>>;
|
|
400
400
|
description?: string;
|
|
401
|
+
/** The model configuration for the prompt. */
|
|
402
|
+
hub_model_config?: Record<string, any>;
|
|
403
|
+
/** The model provider (e.g. ChatOpenAI) */
|
|
404
|
+
hub_model_provider?: string;
|
|
401
405
|
}
|
|
402
406
|
export interface Prompt {
|
|
403
407
|
repo_handle: string;
|