mirror of https://github.com/buster-so/buster.git
communication and cleanup
This commit is contained in:
parent
c432df1326
commit
4e19eddbb8
|
@ -7,7 +7,6 @@ import type {
|
||||||
function hasFailureIndicators(entry: ChatMessageReasoningMessage): boolean {
|
function hasFailureIndicators(entry: ChatMessageReasoningMessage): boolean {
|
||||||
return (
|
return (
|
||||||
entry.status === 'failed' ||
|
entry.status === 'failed' ||
|
||||||
entry.status === 'error' ||
|
|
||||||
(entry.title?.toLowerCase().includes('error') ?? false) ||
|
(entry.title?.toLowerCase().includes('error') ?? false) ||
|
||||||
(entry.title?.toLowerCase().includes('failed') ?? false)
|
(entry.title?.toLowerCase().includes('failed') ?? false)
|
||||||
);
|
);
|
||||||
|
|
|
@ -1,24 +1,3 @@
|
||||||
/**
|
|
||||||
* AI Package Utilities
|
|
||||||
*
|
|
||||||
* Exports commonly used utilities for AI agents, tools, and workflows
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Message and memory utilities
|
|
||||||
export * from './memory';
|
|
||||||
export * from './standardizeMessages';
|
export * from './standardizeMessages';
|
||||||
|
|
||||||
// Model utilities
|
|
||||||
export * from '../models/ai-fallback';
|
|
||||||
export * from '../models/providers/anthropic';
|
|
||||||
export * from '../models/anthropic-cached';
|
|
||||||
export * from '../models/providers/vertex';
|
|
||||||
export * from '../models/sonnet-4';
|
|
||||||
export * from '../models/haiku-3-5';
|
|
||||||
|
|
||||||
// Streaming utilities
|
|
||||||
export * from './streaming';
|
export * from './streaming';
|
||||||
|
|
||||||
// Database utilities
|
|
||||||
export * from './database/format-llm-messages-as-reasoning';
|
|
||||||
export * from './database/save-conversation-history';
|
|
||||||
|
|
Loading…
Reference in New Issue