Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

fix: use dirname instead of basename (#6345)

Myles Scolnick211a11600b28
diff --git a/frontend/src/components/chat/acp/agent-panel.tsx b/frontend/src/components/chat/acp/agent-panel.tsx
index 4a804a9952..3c760df363 100644
--- a/frontend/src/components/chat/acp/agent-panel.tsx
+++ b/frontend/src/components/chat/acp/agent-panel.tsx
@@ -402,7 +402,7 @@ function getCwd() {
if (!filename) {
return "";
}
- return Paths.basename(filename);
+ return Paths.dirname(filename);
}
const AgentPanel: React.FC = () => {