langsmith
Advanced tools
Comparing version 0.2.13 to 0.2.14-beta.0
@@ -18,2 +18,7 @@ import { AsyncCallerParams } from "./utils/async_caller.js"; | ||
fetchOptions?: RequestInit; | ||
/** | ||
* Whether to require manual .flush() calls before sending traces. | ||
* Useful if encountering network rate limits at trace high volumes. | ||
*/ | ||
manualFlushMode?: boolean; | ||
} | ||
@@ -211,2 +216,3 @@ /** | ||
private _getServerInfoPromise?; | ||
private manualFlushMode; | ||
constructor(config?: ClientConfig); | ||
@@ -238,2 +244,6 @@ static getDefaultClientConfig(): { | ||
protected _getSettings(): Promise<LangSmithSettings>; | ||
/** | ||
* Flushes current queued traces. | ||
*/ | ||
flush(): Promise<void>; | ||
createRun(run: CreateRunParams): Promise<void>; | ||
@@ -810,3 +820,3 @@ /** | ||
*/ | ||
awaitPendingTraceBatches(): Promise<[...void[], void]>; | ||
awaitPendingTraceBatches(): Promise<void> | Promise<[...void[], void]>; | ||
} | ||
@@ -813,0 +823,0 @@ export interface LangSmithTracingClientInterface { |
@@ -5,2 +5,2 @@ export { Client, type ClientConfig, type LangSmithTracingClientInterface, } from "./client.js"; | ||
export { overrideFetchImplementation } from "./singletons/fetch.js"; | ||
export declare const __version__ = "0.2.13"; | ||
export declare const __version__ = "0.2.14-beta.0"; |
@@ -5,2 +5,2 @@ export { Client, } from "./client.js"; | ||
// Update using yarn bump-version | ||
export const __version__ = "0.2.13"; | ||
export const __version__ = "0.2.14-beta.0"; |
{ | ||
"name": "langsmith", | ||
"version": "0.2.13", | ||
"version": "0.2.14-beta.0", | ||
"description": "Client library to connect to the LangSmith LLM Tracing and Evaluation Platform.", | ||
@@ -5,0 +5,0 @@ "packageManager": "yarn@1.22.19", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
798299
20722