diff --git a/frontend/src/routes/_oh.app.tsx b/frontend/src/routes/_oh.app.tsx index e0789aa54f77c..9bc828b49c095 100644 --- a/frontend/src/routes/_oh.app.tsx +++ b/frontend/src/routes/_oh.app.tsx @@ -49,7 +49,6 @@ import { clearJupyter } from "#/state/jupyterSlice"; import { FilesProvider } from "#/context/files"; import { ErrorObservation } from "#/types/core/observations"; import { ChatInterface } from "#/components/chat-interface"; -import { cn } from "#/utils/utils"; interface ServerError { error: boolean | string; @@ -295,15 +294,6 @@ function App() {
-
diff --git a/openhands/agenthub/codeact_agent/function_calling.py b/openhands/agenthub/codeact_agent/function_calling.py index 88e3eb6643a32..1799478601bd4 100644 --- a/openhands/agenthub/codeact_agent/function_calling.py +++ b/openhands/agenthub/codeact_agent/function_calling.py @@ -29,6 +29,7 @@ * If user provides a path, you should NOT assume it's relative to the current working directory. Instead, you should explore the file system to find the file before working on it. * When configuring git credentials, use "openhands" as the user.name and "openhands@all-hands.dev" as the user.email by default, unless explicitly instructed otherwise. +* The assistant MUST NOT include comments in the code unless they are necessary to describe non-obvious behavior. """ diff --git a/openhands/agenthub/codeact_agent/system_prompt.j2 b/openhands/agenthub/codeact_agent/system_prompt.j2 index a1498aacd62ba..2ee41c8d1f8db 100644 --- a/openhands/agenthub/codeact_agent/system_prompt.j2 +++ b/openhands/agenthub/codeact_agent/system_prompt.j2 @@ -163,6 +163,9 @@ IMPORTANT: Execute code using , , or