-
Notifications
You must be signed in to change notification settings - Fork 3.2k
fix(tools): updated memory block to throw better errors, removed deprecated posthog route, remove deprecated templates & console helpers #2753
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
Conversation
…ecated posthog route, remove deprecated templates & console helpers
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Greptile OverviewGreptile SummaryCleans up deprecated features and improves error handling across memory tools, PostHog integration, console store, and workflow state management. Replaces custom error responses with standard Confidence Score: 4/5
Important Files ChangedFile Analysis
Sequence DiagramsequenceDiagram
participant Block as Memory Block
participant Handler as Generic Handler
participant Tool as Memory Tool
participant Validator as Validator
Block->>Handler: Execute with params
Handler->>Tool: Call memory tool
Tool->>Validator: Validate required params
alt Missing workspaceId or conversationId
Validator-->>Tool: Validation fails
Tool-->>Handler: throw new Error()
Handler-->>Block: Propagate error
else Valid params
Validator-->>Tool: Validation passes
Tool->>Tool: Execute operation
Tool-->>Handler: Return success
Handler-->>Block: Return result
end
|
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.
3 files reviewed, 3 comments
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.
No files reviewed, no comments
Summary
Type of Change
Testing
Tested manually
Checklist