-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Separate base tracer from langchain tracers, Remove concept of session from base tracer, add missing exports, update console tracer accordingly #1221
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
}); | ||
let tracerSession: TracerSession; | ||
if (!response.ok) { | ||
throw new Error( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed creating a fake session if it fails, as the fake session won't be accepted by the backend anyway, so there's no point
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we add a try / catch
in manager.ts
so the program doesn't crash when the env var is set?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We already have that
serialized: run.serialized, | ||
error: run.error, | ||
inputs: run.inputs, | ||
outputs: run.outputs ?? {}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a little strange as runs with error shouldn't have outputs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's supposed to be optional - I can double check that it works, may have added unnecessarily
…n from base tracer, add missing exports, update console tracer accordingly
No description provided.