mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-03-10 14:13:19 +00:00
* feat: add context annotation types and enhance file handling in LLM processing * feat: enhance context handling by adding chatId to annotations and implementing summary generation * removed useless changes * feat: updated token counts to include optimization requests * prompt fix * logging added * useless logs removed
17 lines
274 B
TypeScript
17 lines
274 B
TypeScript
export type ContextAnnotation =
|
|
| {
|
|
type: 'codeContext';
|
|
files: string[];
|
|
}
|
|
| {
|
|
type: 'chatSummary';
|
|
summary: string;
|
|
chatId: string;
|
|
};
|
|
|
|
export type ProgressAnnotation = {
|
|
type: 'progress';
|
|
value: number;
|
|
message: string;
|
|
};
|