Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Commit ·
13ae315
1
Parent(s): 5a188fd
fix: improve compaction summary prompt, remove sidebar status bar
Browse files
agent/context_manager/manager.py
CHANGED
|
@@ -162,7 +162,7 @@ class ContextManager:
|
|
| 162 |
messages_to_summarize.append(
|
| 163 |
Message(
|
| 164 |
role="user",
|
| 165 |
-
content="Please provide a concise summary of the conversation above, focusing on key decisions,
|
| 166 |
)
|
| 167 |
)
|
| 168 |
|
|
|
|
| 162 |
messages_to_summarize.append(
|
| 163 |
Message(
|
| 164 |
role="user",
|
| 165 |
+
content="Please provide a concise summary of the conversation above, focusing on key decisions, the 'why' behind the decisions, problems solved, and important context needed for developing further. Your summary will be given to someone who has never worked on this project before and they will be have to be filled in.",
|
| 166 |
)
|
| 167 |
)
|
| 168 |
|
frontend/src/components/SessionSidebar/SessionSidebar.tsx
CHANGED
|
@@ -340,22 +340,6 @@ export default function SessionSidebar({ onClose }: SessionSidebarProps) {
|
|
| 340 |
)}
|
| 341 |
</Box>
|
| 342 |
|
| 343 |
-
<Box
|
| 344 |
-
sx={{
|
| 345 |
-
display: 'flex',
|
| 346 |
-
alignItems: 'center',
|
| 347 |
-
justifyContent: 'center',
|
| 348 |
-
gap: 0.5,
|
| 349 |
-
}}
|
| 350 |
-
>
|
| 351 |
-
<StatusDot connected={isConnected} />
|
| 352 |
-
<Typography
|
| 353 |
-
variant="caption"
|
| 354 |
-
sx={{ color: 'var(--muted-text)', fontSize: '0.62rem', letterSpacing: '0.02em' }}
|
| 355 |
-
>
|
| 356 |
-
{sessions.length} session{sessions.length !== 1 ? 's' : ''} · Backend {isConnected ? 'online' : 'offline'}
|
| 357 |
-
</Typography>
|
| 358 |
-
</Box>
|
| 359 |
</Box>
|
| 360 |
</Box>
|
| 361 |
);
|
|
|
|
| 340 |
)}
|
| 341 |
</Box>
|
| 342 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 343 |
</Box>
|
| 344 |
</Box>
|
| 345 |
);
|