Skip to content

armgit / E2B

Public Imported from GitHub
0

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

fix type

Vasek Mlejnskye230659bd493
diff --git a/pages/log/[logFileID].tsx b/pages/log/[logFileID].tsx
index 6ff617375..0f50d9a5d 100644
--- a/pages/log/[logFileID].tsx
+++ b/pages/log/[logFileID].tsx
@@ -1,8 +1,20 @@
-function LogFile() {
+import { LogFile, AgentLogs } from 'utils/agentLogs'
+
+export interface Props {
+ logFile: LogFile
+ logs: AgentLogs
+}
+
+function LogFile({
+
+}) {
return (
- <div>
- Log file detail
- </div>
+ <main className="overflow-hidden flex flex-col max-h-full">
+ <header className="flex items-center justify-between p-4 sm:p-6 lg:px-8">
+ <h1 className="text-2xl font-semibold leading-7 text-white">Logs</h1>
+ </header>
+
+ </main>
)
}
diff --git a/utils/agentLogs.ts b/utils/agentLogs.ts
index 8c548ac0a..f3c5ced8a 100644
--- a/utils/agentLogs.ts
+++ b/utils/agentLogs.ts
@@ -10,7 +10,7 @@ export interface LogFile {
export interface AgentLogs {
logFileID: string
- context: SystemContext | UserContext | AssistantContext
+ context: (SystemContext | UserContext | AssistantContext)[]
functions: {
name: string
description?: string