Refactor error handling, client, and tests for Ollama integration
This commit is contained in:
@@ -179,7 +179,7 @@ describe('ErrorHandler', () => {
|
||||
it('should detect tool errors in generic Error', () => {
|
||||
const error = new Error('Tool function error');
|
||||
const message = ErrorHandler['getUserFriendlyMessageFromError'](error);
|
||||
expect(message).toContain('Tool execution error');
|
||||
expect(message).toContain('Tool error');
|
||||
});
|
||||
|
||||
it('should detect path errors in generic Error', () => {
|
||||
|
||||
Reference in New Issue
Block a user