-
Notifications
You must be signed in to change notification settings - Fork 23
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
Custom Anthropic tokens; error handling; various bugfixes and refactorings #3450
base: main
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Custom token field:
(Doesn't look great, I think it's time to collapse settings in an accordion, but that's out of scope of this PR)
Tooltips for failed steps and error messages:
Renamed "Actions" to "Steps", for consistency (I think "Actions" could be confusing for end users, and we already use "Steps" in the sidebar):
Weird small feature:
/admin/dev
page in dev mode that allows to disable Prisma logs on the running server; doesn't work great but better than nothing when you want to read AI logs and Prisma logs get in the way:LLMClient changes:
LLMError
class that allows to distinguish between "timeout" errors and "out of credits" errorsError handling:
queryLLM
now always returns a completion, or fails when something went wrongStreaming, ClientWorkflow and events refactorings:
stepStarted
event, we update the DB onstepAdded
events now (minor difference but fixes the issue with in-progress status)clientWorkflow.currentStep
, could be inferred from the last step, and this fixes one bug where we showed step id instead of step name in the sidebar