You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today I used patch-package to patch langsmith@0.1.20 for the project I'm working on. start/end time from the API is an ISO string, not a number
Here is the diff that solved my problem:
diff --git a/node_modules/langsmith/dist/schemas.d.ts b/node_modules/langsmith/dist/schemas.d.ts
index 189a1cd..80d53ae 100644
--- a/node_modules/langsmith/dist/schemas.d.ts+++ b/node_modules/langsmith/dist/schemas.d.ts@@ -39,11 +39,11 @@ export interface BaseRun {
/** A human-readable name for the run. */
name: string;
/** The epoch time at which the run started, if available. */
- start_time?: number;+ start_time?: string;
/** Specifies the type of run (tool, chain, llm, etc.). */
run_type: string;
/** The epoch time at which the run ended, if applicable. */
- end_time?: number;+ end_time?: string;
/** Any additional metadata or settings for the run. */
extra?: KVMap;
/** Error message, captured if the run faces any issues. */
Today I used patch-package to patch
langsmith@0.1.20
for the project I'm working on. start/end time from the API is an ISO string, not a numberHere is the diff that solved my problem:
This issue body was partially generated by patch-package.
The text was updated successfully, but these errors were encountered: