Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Merge branch 'autogpt' into production

Tomas Valentac0b0d1a5fd7f
diff --cc components/AgentLogFilesList.tsx
index 631ca9b47,45e7e815e..899d4946b
--- a/components/AgentLogFilesList.tsx
+++ b/components/AgentLogFilesList.tsx
@@@ -161,7 -161,7 +161,7 @@@ function AgentLogFilesList(
}
return (
- <main className="rounded-md border-white/5 border overflow-hidden flex flex-col max-h-full flex-1">
- <main className="overflow-hidden flex flex-col max-h-full flex-1 pb-6">
++ <main className="rounded-md border-white/5 border overflow-hidden pb-6 flex flex-col max-h-full flex-1">
<input
type="file"
style={{ display: 'none' }}
diff --cc pages/index.tsx
index f9394d197,3ca1c3aa2..54309fd84
--- a/pages/index.tsx
+++ b/pages/index.tsx
@@@ -29,10 -23,15 +29,15 @@@ function getLastTwoDirsAndFile(fullPath
return path.join(lastTwoDirs, fileName)
}
-function formatLogFileContent(logFile: Omit<log_files, 'project_id' | 'type' | 'size' | 'last_modified' | 'deployment_id'>) {
+function formatLogFileContent(logFile: log_files) {
const relativePath = getLastTwoDirsAndFile(logFile.relativePath)
- if (logFile.filename.includes('user_input')) {
+ // This parsing is very Ssecific to the AutoGPT format.
+ const filename = logFile.filename
+ console.log('filename', filename)
+ if (filename.includes('user_input.txt')
+ || filename.includes('summary.txt')
+ ) {
return {
...logFile,
relativePath,