feat: enhance context handling by adding code context selection and implementing summary generation (#1091) #release
* 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
This commit is contained in:
16
app/types/context.ts
Normal file
16
app/types/context.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
export type ContextAnnotation =
|
||||
| {
|
||||
type: 'codeContext';
|
||||
files: string[];
|
||||
}
|
||||
| {
|
||||
type: 'chatSummary';
|
||||
summary: string;
|
||||
chatId: string;
|
||||
};
|
||||
|
||||
export type ProgressAnnotation = {
|
||||
type: 'progress';
|
||||
value: number;
|
||||
message: string;
|
||||
};
|
||||
Reference in New Issue
Block a user