-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revert "Enable "vz" vm-type for MacOS CI" #2588
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This reverts commit 57b56c0.
xingyaoww
approved these changes
Jun 22, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Weird.. why the MacOS tests are skipped in the previous PR though
priyank-infocusp
added a commit
to autoscienceai/OpenDevin
that referenced
this pull request
Jul 17, 2024
* fix: Makefile shall pull sandbox:main, not :latest (#2561) * Update doc to clarify OpenDevin mission and link directly to content (#2568) * Update doc * Fix review comments * chore(deps-dev): bump typescript from 5.4.5 to 5.5.2 in /frontend (#2570) Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.4.5 to 5.5.2. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml) - [Commits](https://github.com/Microsoft/TypeScript/compare/v5.4.5...v5.5.2) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump @types/node from 20.14.6 to 20.14.7 in /frontend (#2571) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.14.6 to 20.14.7. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump streamlit from 1.35.0 to 1.36.0 (#2572) Bumps [streamlit](https://github.com/streamlit/streamlit) from 1.35.0 to 1.36.0. - [Release notes](https://github.com/streamlit/streamlit/releases) - [Commits](https://github.com/streamlit/streamlit/compare/1.35.0...1.36.0) --- updated-dependencies: - dependency-name: streamlit dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump openai from 1.35.1 to 1.35.3 (#2574) Bumps [openai](https://github.com/openai/openai-python) from 1.35.1 to 1.35.3. - [Release notes](https://github.com/openai/openai-python/releases) - [Changelog](https://github.com/openai/openai-python/blob/main/CHANGELOG.md) - [Commits](https://github.com/openai/openai-python/compare/v1.35.1...v1.35.3) --- updated-dependencies: - dependency-name: openai dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump json-repair from 0.25.0 to 0.25.1 (#2575) Bumps [json-repair](https://github.com/mangiucugna/json_repair) from 0.25.0 to 0.25.1. - [Release notes](https://github.com/mangiucugna/json_repair/releases) - [Commits](https://github.com/mangiucugna/json_repair/compare/0.25.0...0.25.1) --- updated-dependencies: - dependency-name: json-repair dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * No longer chown -R the miniforge3 folder (#2566) * No longer chown -R the miniforge3 folder * change miniforge3 group permission * Fix Mac CI Test (#2569) * Fix Mac CI Test * Start colima service * unlink colima dependency: go * Check for colima Co-authored-by: Graham Neubig <[email protected]> * fix indent Co-authored-by: Graham Neubig <[email protected]> * Try with uninstall --------- Co-authored-by: Graham Neubig <[email protected]> * Interactive Terminal (#2493) * Interactive Terminal * linted * fixed tests * fixed tests * refactored logic * remove console logs * chore(deps): bump litellm from 1.40.17 to 1.40.20 (#2576) Bumps [litellm](https://github.com/BerriAI/litellm) from 1.40.17 to 1.40.20. - [Release notes](https://github.com/BerriAI/litellm/releases) - [Commits](https://github.com/BerriAI/litellm/compare/v1.40.17...v1.40.20) --- updated-dependencies: - dependency-name: litellm dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Graham Neubig <[email protected]> * chore(deps-dev): bump ruff from 0.4.9 to 0.4.10 (#2573) Bumps [ruff](https://github.com/astral-sh/ruff) from 0.4.9 to 0.4.10. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/v0.4.9...v0.4.10) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Graham Neubig <[email protected]> * Add links to a feedback sharing site (#2580) * Add links to a feedback sharing site * Remove console log --------- Co-authored-by: sp.wack <[email protected]> * Update feedback modal content (#2582) * Mention Ubuntu supported versions (#2584) * Enable "vz" vm-type for MacOS CI (#2586) * Update documentation regarding feedback data usage (#2585) * Update feedback data usage * Update hugging face * Revert "Enable "vz" vm-type for MacOS CI (#2586)" (#2588) This reverts commit 57b56c0536276741978994fef0eb62ae79fd62eb. * Remove PERSIST_SANDBOX=true option (#2591) * Add NUM_WORKERS variable to run_infer.sh scripts for configurable woker settings (#2597) * Add NUM_WORKERS variable to run_infer.sh scripts for configurable worker settings * Update evaluation/webarena/scripts/run_infer.sh --------- Co-authored-by: OpenDevin <[email protected]> * Remove Colima and lima directory after uninstalling for Mac OS CI (#2598) * Remove colima dir after uninstall * Delete lima dir * fix(frontend): Prevent actions from disappearing before sending data (#2599) * Prevent actions from disappearing before sending data * Lint * Disable eslint rule that throws useeffect warning (#2600) * Replace console errors with toast errors (#2601) * Add i18n support for official website (#2463) * feat(i18n): initial i18n setup - Configured i18n settings in docusaurus.config.js - Implemented Translate component and translate function in key components * docs(i18n): complete documentation internationalization - Added support for Simplified Chinese and French * Update docs/i18n/zh-Hans/docusaurus-plugin-content-docs/current/usage/troubleshooting/troubleshooting.md * Update docs/i18n/zh-Hans/docusaurus-plugin-content-docs/current/usage/troubleshooting/troubleshooting.md * Update docs/i18n/zh-Hans/docusaurus-plugin-content-docs/current/usage/troubleshooting/troubleshooting.md * fix(build): resolve broken links causing build failure - Fix issue causing build errors due to broken links in Docusaurus documentation. - Resolve uncontrolled resource consumption in braces (see: https://github.com/advisories/GHSA-grv7-fg5c-xmjg). - Bump Docusaurus to ^3.4.0 to fix MDX loader: linkify should process the md AST instead of the md string. * fix: sync with commit 868b746 - Change to `docusaurus write-translations` to provide translation for JSON files. --------- Co-authored-by: Yufan Song <[email protected]> Co-authored-by: Graham Neubig <[email protected]> * Default makefile for persist_sandbox to be false (#2605) Co-authored-by: Mahmoud Work <[email protected]> * update swe-bench output with eval results (#2606) * Track metrics throughout delegation & Polish UX for out of budget error (#2595) * Track metrics (costs) throught delegation * Metrics should be shared across agents for better UX * Update cost before starting delegate * Tweak prompts of ManagerAgent and CommitWriterAgent (#2609) * Tweak prompts of ManagerAgent and CommitWriterAgent * Fix prompts * feat: update version to 0.6.2. added Action to update pyproject on Release (#2552) * updated version; added Action to update pyproject version by current tag (if changed) * higer pyproject version creates a tag now * Release-only run to write tag to pyproject * chore(deps): bump boto3 from 1.34.130 to 1.34.131 (#2616) Bumps [boto3](https://github.com/boto/boto3) from 1.34.130 to 1.34.131. - [Release notes](https://github.com/boto/boto3/releases) - [Changelog](https://github.com/boto/boto3/blob/develop/CHANGELOG.rst) - [Commits](https://github.com/boto/boto3/compare/1.34.130...1.34.131) --- updated-dependencies: - dependency-name: boto3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump litellm from 1.40.20 to 1.40.25 (#2615) Bumps [litellm](https://github.com/BerriAI/litellm) from 1.40.20 to 1.40.25. - [Release notes](https://github.com/BerriAI/litellm/releases) - [Commits](https://github.com/BerriAI/litellm/compare/v1.40.20...v1.40.25) --- updated-dependencies: - dependency-name: litellm dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump @types/node from 20.14.7 to 20.14.8 in /frontend (#2617) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.14.7 to 20.14.8. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bug fix: add error observation to history (#2610) * Bug fix: add error observation to history * Regenerate to demonstrate format error * feat(frontend): Add "Copy" Button to Chat Messages (#2619) * Add "Copy" Button to Chat Messages ### PR Overview: Add "Copy" Button to Chat Messages **Description:** This PR introduces a "Copy" button to each chat message in the `ChatMessage` component. The button allows users to easily copy the content of a chat message to their clipboard. The implementation includes a button with a clipboard icon and the necessary functionality to copy the message content. **Changes Made:** 1. **Imports:** - Added `FaClipboard` from `react-icons/fa` for the clipboard icon. - Added `toast` from `#utils/toast` for displaying notifications. 2. **New Functionality:** - Implemented `copyToClipboard` function using `navigator.clipboard.writeText` to copy the message content. - Added a button element with an `onClick` handler to trigger the `copyToClipboard` function. 3. **UI Enhancements:** - The button is styled to match the existing UI and is placed next to the message content. **Code Changes:** - Modified `frontend/src/components/chat/ChatMessage.tsx` to include the new button and functionality. **Testing:** - Verified that clicking the "Copy" button copies the message content to the clipboard. - Confirmed that a toast notification appears upon successful copy or failure. **Example Code:** ```tsx import React from "react"; import Markdown from "react-markdown"; import { twMerge } from "tailwind-merge"; import { code } from "../markdown/code"; import { FaClipboard } from "react-icons/fa"; import toast from "#/utils/toast"; // Assuming you have a toast utility for notifications interface MessageProps { message: Message; } function ChatMessage({ message }: MessageProps) { const className = twMerge( "markdown-body", "p-3 text-white max-w-[90%] overflow-y-auto rounded-lg", message.sender === "user" ? "bg-neutral-700 self-end" : "bg-neutral-500", ); const copyToClipboard = () => { navigator.clipboard.writeText(message.content).then(() => { toast.info("Message copied to clipboard!"); }).catch((error) => { toast.error(`Failed to copy message: ${error}`); }); }; return ( <div data-testid="message" className={className}> <div className="flex justify-between items-center"> <Markdown components={{ code }}>{message.content}</Markdown> <button onClick={copyToClipboard} className="ml-2 p-1 bg-neutral-600 rounded hover:bg-neutral-500" aria-label="Copy message" > <FaClipboard /> </button> </div> </div> ); } export default ChatMessage; ``` **Notes:** - Ensure that the `react-icons` package is installed (`npm install react-icons` or `yarn add react-icons`). - The toast utility is assumed to be available for notifications. If not, consider using an alternative notification method. * layout enhancements; linting --------- Co-authored-by: tobitege <[email protected]> Co-authored-by: sp.wack <[email protected]> * feat: Agent buttons hover decor (#2623) * feat: Agent buttons hover decor * use TailwindCSS for styling * chore(deps): bump framer-motion from 11.2.11 to 11.2.12 in /frontend (#2626) Bumps [framer-motion](https://github.com/framer/motion) from 11.2.11 to 11.2.12. - [Changelog](https://github.com/framer/motion/blob/main/CHANGELOG.md) - [Commits](https://github.com/framer/motion/compare/v11.2.11...v11.2.12) --- updated-dependencies: - dependency-name: framer-motion dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump @typescript-eslint/parser in /frontend (#2627) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 7.13.1 to 7.14.1. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.14.1/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump mypy from 1.10.0 to 1.10.1 (#2634) Bumps [mypy](https://github.com/python/mypy) from 1.10.0 to 1.10.1. - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](https://github.com/python/mypy/compare/v1.10.0...v1.10.1) --- updated-dependencies: - dependency-name: mypy dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump litellm from 1.40.25 to 1.40.26 (#2633) Bumps [litellm](https://github.com/BerriAI/litellm) from 1.40.25 to 1.40.26. - [Release notes](https://github.com/BerriAI/litellm/releases) - [Commits](https://github.com/BerriAI/litellm/compare/v1.40.25...v1.40.26) --- updated-dependencies: - dependency-name: litellm dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump @typescript-eslint/eslint-plugin in /frontend (#2629) Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 7.13.1 to 7.14.1. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.14.1/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump tenacity from 8.4.1 to 8.4.2 (#2631) Bumps [tenacity](https://github.com/jd/tenacity) from 8.4.1 to 8.4.2. - [Release notes](https://github.com/jd/tenacity/releases) - [Commits](https://github.com/jd/tenacity/compare/8.4.1...8.4.2) --- updated-dependencies: - dependency-name: tenacity dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump reportlab from 4.2.0 to 4.2.2 (#2635) Bumps [reportlab](https://www.reportlab.com/) from 4.2.0 to 4.2.2. --- updated-dependencies: - dependency-name: reportlab dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump boto3 from 1.34.131 to 1.34.132 (#2632) Bumps [boto3](https://github.com/boto/boto3) from 1.34.131 to 1.34.132. - [Release notes](https://github.com/boto/boto3/releases) - [Changelog](https://github.com/boto/boto3/blob/develop/CHANGELOG.rst) - [Commits](https://github.com/boto/boto3/compare/1.34.131...1.34.132) --- updated-dependencies: - dependency-name: boto3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat(frontend): Add Typing Indicator for Agent Response using Tailwind CSS (#2630) * feat(frontend): Add Typing Indicator for Agent Response * finetuning and linting * evil lil linter * TailwindCSS styles now * improve bounce * merge fix * merge fix 2 * one more fix * poetry.lock fix --------- Co-authored-by: tobitege <[email protected]> * frontend: apply more i18n (#2639) * Allow SANDBOX_CONTAINER_IMAGEs built from opendevin/sandbox:main (#2622) * Frontend support for delegation and rejection (#2608) 1. Add support for rejection action on frontend 2. Show users the reason for rejection 3. Get rid of weird empty box after delegation 4. On web GUI, show customer when a delegation starts and ends * dev: added make-i18n to "build" (package.json) (#2641) * added i18n to build-frontend * revert Makefile; update package.json for make-i18n instead * chore(deps): bump react-router-dom from 6.23.1 to 6.24.0 in /frontend (#2628) Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.23.1 to 6.24.0. - [Release notes](https://github.com/remix-run/react-router/releases) - [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md) - [Commits](https://github.com/remix-run/react-router/commits/[email protected]/packages/react-router-dom) --- updated-dependencies: - dependency-name: react-router-dom dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump @types/node from 20.14.8 to 20.14.9 in /frontend (#2644) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.14.8 to 20.14.9. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * added custom sandbox guide markdown file (#2637) * chore(deps): bump jose from 5.4.1 to 5.5.0 in /frontend (#2645) Bumps [jose](https://github.com/panva/jose) from 5.4.1 to 5.5.0. - [Release notes](https://github.com/panva/jose/releases) - [Changelog](https://github.com/panva/jose/blob/main/CHANGELOG.md) - [Commits](https://github.com/panva/jose/compare/v5.4.1...v5.5.0) --- updated-dependencies: - dependency-name: jose dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump boto3 from 1.34.132 to 1.34.133 (#2647) Bumps [boto3](https://github.com/boto/boto3) from 1.34.132 to 1.34.133. - [Release notes](https://github.com/boto/boto3/releases) - [Changelog](https://github.com/boto/boto3/blob/develop/CHANGELOG.rst) - [Commits](https://github.com/boto/boto3/compare/1.34.132...1.34.133) --- updated-dependencies: - dependency-name: boto3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump litellm from 1.40.26 to 1.40.27 (#2648) Bumps [litellm](https://github.com/BerriAI/litellm) from 1.40.26 to 1.40.27. - [Release notes](https://github.com/BerriAI/litellm/releases) - [Commits](https://github.com/BerriAI/litellm/compare/v1.40.26...v1.40.27) --- updated-dependencies: - dependency-name: litellm dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump openai from 1.35.3 to 1.35.4 (#2649) Bumps [openai](https://github.com/openai/openai-python) from 1.35.3 to 1.35.4. - [Release notes](https://github.com/openai/openai-python/releases) - [Changelog](https://github.com/openai/openai-python/blob/main/CHANGELOG.md) - [Commits](https://github.com/openai/openai-python/compare/v1.35.3...v1.35.4) --- updated-dependencies: - dependency-name: openai dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update custom_sandbox_guide.md (#2650) * Update docusaurus.config.ts for a changed Doc URL (#2653) * Update docusaurus.config.ts for a changed Doc URL * fix url * fix broken link again * fix url again * Added Sound Notification 🎵 (#2203) * Added Sound Notification * prettify * linted * disabled by default * Add dev config for frontend * add volume icon * fix typo * lint * lint * Apply suggestions from code review Co-authored-by: Graham Neubig <[email protected]> * Move volume icon to bottom --------- Co-authored-by: Graham Neubig <[email protected]> * Add test for auto_lint after file edit (#2655) * Revert "Show relevant error in UI (#2516)" (#2657) This reverts commit d0bdae232f0925ba4340ef10c172f2e3383d3efd. * Provide [Package already installed] info to LLM (#2642) * Provide [Package already installed] info to LLM * regenerate tests * chore(deps): bump boto3 from 1.34.133 to 1.34.134 (#2661) * chore(deps-dev): bump openai from 1.35.4 to 1.35.6 (#2660) * chore(deps): bump google-generativeai from 0.7.0 to 0.7.1 (#2662) * chore(deps): bump jose from 5.5.0 to 5.6.1 in /frontend (#2663) * chore(deps): bump litellm from 1.40.27 to 1.40.28 (#2664) Bumps [litellm](https://github.com/BerriAI/litellm) from 1.40.27 to 1.40.28. - [Release notes](https://github.com/BerriAI/litellm/releases) - [Commits](https://github.com/BerriAI/litellm/compare/v1.40.27...v1.40.28) --- updated-dependencies: - dependency-name: litellm dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Fix doc error in evals (#2654) * Refactor: Simplify message formatting (#2670) Removed redundant `str()` conversion in f-string. * CodeActAgent: Fix delegate history (#2672) * chore(deps): bump boto3 from 1.34.134 to 1.34.135 (#2678) Bumps [boto3](https://github.com/boto/boto3) from 1.34.134 to 1.34.135. - [Release notes](https://github.com/boto/boto3/releases) - [Changelog](https://github.com/boto/boto3/blob/develop/CHANGELOG.rst) - [Commits](https://github.com/boto/boto3/compare/1.34.134...1.34.135) --- updated-dependencies: - dependency-name: boto3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump jose from 5.6.1 to 5.6.2 in /frontend (#2682) * chore(deps): bump vite from 5.3.1 to 5.3.2 in /frontend (#2681) * chore(deps-dev): bump openai from 1.35.6 to 1.35.7 (#2676) * chore(deps): bump litellm from 1.40.28 to 1.40.29 (#2677) * chore(deps): bump json-repair from 0.25.1 to 0.25.2 (#2679) * chore(deps-dev): bump llama-index-vector-stores-chroma (#2680) * feat: file explorer: better sorting; .gitignore support; file upload config (#2621) * feat: file explorer: better sorting; .gitignore support; file upload config * resolved poetry * move config settings (no extra file); updated uploading of files; fix exception on refresh of removed folder * removed console cmds; fix in a toast * attempt fix of upload toasts * fix new options' assignments in listen.py * [Evaluation] Improve patch apply in SWE-Bench (#2684) * add newline after patch to fix patch apply * only add newline if not empty * ghcr: Fix local built image name in tests (#2686) * ghcr: Fix local built image name in tests * Push to registry when tagged * Fix push and experiment * Remove debug * Update tag to use in README and docs to 0.7.0 (#2683) Co-authored-by: Mahmoud Work <[email protected]> * Remove MAX_CHARS traffic control (#2694) * Remove MAX_CHARS limiting * More cleanup * doc: Update CONTRIBUTING.md (#2671) * Sync history to stream (#2640) * add event to stream before budget check * make the budget check before the step * Update opendevin/controller/agent_controller.py Co-authored-by: Boxuan Li <[email protected]> --------- Co-authored-by: Boxuan Li <[email protected]> * default to not use hint for eval (#2696) * CLI concurrency (#2695) * add session id in cli, evals * fix main sid * Add ability to restore the cli session (optional) (#2699) * add ability to restore the main session * add quick log * rename to cli session * Small refactoring of obs truncation (#2701) * refactor truncate_content a bit to be usable by all agents * adjust doc * Bypass MAX_ITERATIONS and MAX_BUDGET_PER_TASK on web GUI (#2697) Closes #1493 Introduced TRAFFIC_CONTROL_STATE to allow OpenDevin to switch between normal traffic limiting mode and temporarily disabled mode. * docs: Update documentation with some consistency (#2706) * Update documentation with some consistency * Make windows troubleshooting a little more clear * Apply suggestions from code review Co-authored-by: Boxuan Li <[email protected]> --------- Co-authored-by: Mahmoud Work <[email protected]> Co-authored-by: Boxuan Li <[email protected]> * remove swe agent (#2708) * feat: added make run-wsl (#2711) * feat: added make run-wsl * moved Windows warning * mixin: improve logging (#2713) * mixin: improve logging * refactor logger creation * style: refine the copy button and add copy feedback for the icon. (#2715) * Add padding on top for input to overlay the message bubbles. Signed-off-by: ifuryst <[email protected]> * chore(deps): bump boto3 from 1.34.135 to 1.34.136 (#2718) Bumps [boto3](https://github.com/boto/boto3) from 1.34.135 to 1.34.136. - [Release notes](https://github.com/boto/boto3/releases) - [Commits](https://github.com/boto/boto3/compare/1.34.135...1.34.136) --- updated-dependencies: - dependency-name: boto3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump postcss from 8.4.38 to 8.4.39 in /frontend (#2716) Bumps [postcss](https://github.com/postcss/postcss) from 8.4.38 to 8.4.39. - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/postcss/postcss/compare/8.4.38...8.4.39) --- updated-dependencies: - dependency-name: postcss dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump @reduxjs/toolkit from 2.2.5 to 2.2.6 in /frontend (#2717) Bumps [@reduxjs/toolkit](https://github.com/reduxjs/redux-toolkit) from 2.2.5 to 2.2.6. - [Release notes](https://github.com/reduxjs/redux-toolkit/releases) - [Commits](https://github.com/reduxjs/redux-toolkit/compare/v2.2.5...v2.2.6) --- updated-dependencies: - dependency-name: "@reduxjs/toolkit" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump ruff from 0.4.10 to 0.5.0 (#2719) Bumps [ruff](https://github.com/astral-sh/ruff) from 0.4.10 to 0.5.0. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/v0.4.10...0.5.0) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * test: fix the failed unit tests. (#2721) Signed-off-by: ifuryst <[email protected]> * fix(docs): translate missing parts (#2724) - fix incorrect format in sidebar.json - add custom_sandbox_guide.md to other language folders * fix: improve exit_code processing (ssh_box) (#2726) * improve exit_code processing * removed debug spam * [Evaluation] Use the latest official SWE-Bench Dockerization for evaluation (#2728) * add newline after patch to fix patch apply * new swebench wip * add newline after patch to fix patch apply * only add newline if not empty * update swebench source and update * update gitignore for swebench eval * update old prep_eval * update gitignore * add scripts for push and pull swebench images * update eval_infer.sh * update eval_infer for new docker workflow * update script to create markdown report based on report.json * update eval infer to use update output * update readme * only move result to folder if running whole file * remove set-x * update conversion script * Update evaluation/swe_bench/README.md * Update evaluation/swe_bench/README.md * Update evaluation/swe_bench/README.md * make sure last line end with newline * switch to an fix attempt branch of swebench * Update evaluation/swe_bench/README.md * Update evaluation/swe_bench/README.md --------- Co-authored-by: Engel Nyst <[email protected]> * [Agent] (Potentially) improve Editing using `diff` (#2685) * add replace-based block edit & preliminary test case fix * further fix the insert behavior * make edit only work on first occurence * bump codeact version since we now use new edit agentskills * update prompt for new agentskills * update integration tests * make run_infer.sh executable * remove code block for edit_file * update integration test for prompt changes * default to not use hint for eval * fix insert emptyfile bug * throw value error when `to_replace` is empty * make `_edit_or_insert_file` return string so we can try to fix some linter errors (best attempt) * add todo * update integration test * fix sandbox test for this PR * refactor: Renamed variables to resolve naming conflicts and eliminate warnings (#2732) * refactor: Renamed variables to resolve naming conflicts and eliminate warnings Signed-off-by: ifuryst <[email protected]> * Fix lint failed. Signed-off-by: ifuryst <[email protected]> * Combine set_initial_state methods, rename _filed to f, and adjust the AppConfig update codes. Signed-off-by: ifuryst <[email protected]> --------- Signed-off-by: ifuryst <[email protected]> * Refactor: Enhance file handling and code editing functionality (#2646) * refactor: Enhance file handling and code editing functionality # PR Summary **refactor: Enhance file handling and code editing functionality** ## PR Description This pull request includes improvements to file handling, error management, and code editing functionality across multiple files. The changes enhance the robustness, security, and user experience of the application. ### Changes in `listen.py` 1. **Imports and Error Handling**: - Removed `warnings` import and its usage with `litellm`. - More consistent use of `JSONResponse` and `HTTPException` for error handling. 2. **WebSocket Endpoint (`/ws`)**: - Simplified logic for handling events using a single `isinstance` check. 3. **New Endpoint**: - Added `/api/save-file` POST endpoint for saving file contents. - Implemented checks for agent state before allowing file edits. 4. **Code Style and Organization**: - Improved code formatting and organization. - Refactored some functions for better readability and consistency. ### Changes in `fileService.ts` 1. **Error Handling**: - Added try-catch blocks to all functions for better error handling and logging. 2. **Input Sanitization**: - Implemented `encodeURIComponent()` for file names and paths in API requests. 3. **Type Checking**: - Added type checks for API responses to ensure data format consistency. 4. **File Upload Improvement**: - Refactored `uploadFiles()` to use `Array.from(files)` instead of a for loop. 5. **New Functionality**: - Added `saveFile()` function to allow saving file content to a specified path. ### Changes in `CodeEditor.tsx` 1. **New Dependencies**: - Added imports for state management, UI components, and file operations. 2. **State Management**: - Introduced new state variables for tracking save status and last saved time. - Implemented Redux state management for code and agent state. 3. **UI Enhancements**: - Added a save button with dynamic colors based on save status. - Implemented a save notification system. - Added a "Last saved" timestamp display. 4. **File Saving Functionality**: - Implemented complete file saving feature with error handling and user feedback. 5. **Code Structure**: - Improved structure with additional hooks and memoized values for optimization. ### Testing Performed - Manually tested new file saving functionality. - Verified error handling and user feedback mechanisms. - Checked integration between backend (`listen.py`) and frontend (`fileService.ts`, `CodeEditor.tsx`). ### Next Steps - Conduct thorough testing of the file saving feature across different scenarios. - Update documentation to reflect new file handling capabilities. - Consider adding unit tests for new functions and components. * Added Docstrings back Added Docstrings back * Fix # Allow Code Editing in AWAITING_USER_INPUT State ## Description This pull request extends the functionality of the code editor to allow editing when the agent is in the AWAITING_USER_INPUT state, in addition to the existing PAUSED and FINISHED states. ## Changes 1. Backend (`listen.py`): - Updated the `save_file` function to allow saving when the agent state is AWAITING_USER_INPUT. 2. Frontend (`CodeEditor.tsx`): - Modified the `isEditingAllowed` condition to include the AWAITING_USER_INPUT state. ## Files Changed - `listen.py` - `CodeEditor.tsx` ## Testing - Verified that the save button appears when the agent is in the AWAITING_USER_INPUT state. - Tested saving files in all three allowed states (PAUSED, FINISHED, AWAITING_USER_INPUT). - Ensured that saving is still prohibited in other agent states. ## Additional Notes This change improves the user experience by allowing code edits while the agent is waiting for user input, which is a common scenario in interactive coding sessions. * Add internationalization for 'File saved successfully' message # Add internationalization for 'File saved successfully' message ## Description This PR adds internationalization support for the "File saved successfully" message in the CodeEditor component. It updates the translation.json file to include translations for multiple languages and modifies the CodeEditor.tsx file to use the new translation key. ## Changes 1. Updated `translation.json`: - Added a new key `CODE_EDITOR$FILE_SAVED_SUCCESSFULLY` with translations for multiple languages. - Ensured the file structure supports multiple languages per key. 2. Modified `CodeEditor.tsx`: - Updated the success message to use the new translation key. - Applied the translation to both the toast notification and the on-screen notification. ## Why These changes improve the user experience for non-English speakers by providing localized feedback when a file is successfully saved. This aligns with our goal of making the application more accessible to a global audience. ## How to Test 1. Change the application language to different supported languages. 2. Open the CodeEditor, make changes to a file, and save it. 3. Verify that the "File saved successfully" message appears in the correct language for both the toast and on-screen notifications. ## Additional Notes Please pay special attention to the structure of the translation.json file to ensure it follows our established patterns for internationalization. * Add toast notifications for error handling in fileService # Add toast notifications for error handling in fileService ## Description This PR enhances the error handling in the `fileService.ts` file by adding toast notifications for user feedback. It maintains the existing console error logging for debugging purposes while improving the user experience by providing visible error messages in the UI. ## Changes - Added import for the toast utility - Implemented toast.error() calls in catch blocks for all file operations - Kept console.error() calls for detailed logging - Updated error messages to be more user-friendly ## Files Changed - `src/services/fileService.ts` ## Testing - Tested all file operations (select, upload, list, save) to ensure proper error handling - Verified that toast notifications appear when errors are simulated - Confirmed that console errors are still logged for debugging ## Additional Notes This change improves error visibility for users without altering the underlying error handling logic. It should make troubleshooting easier for both users and developers. * Add file path safety check and improve error handling in file services # Add file path safety check and improve error handling in file services ## Description This PR enhances the `fileService.ts` by adding a safety check for file paths in the `saveFile` function and improves error handling across all file operations. It also includes new translations for various file-related error messages. ## Changes 1. Updated `src/services/fileService.ts`: - Added a validation check for file paths in the saveFile function - Improved error handling for all file operations (select, upload, list, save) - Implemented toast error messages with translation support 2. Updated `src/i18n/translations.json`: - Added new translation keys for file service error messages: - FILE_SERVICE$SELECT_FILE_ERROR - FILE_SERVICE$UPLOAD_FILES_ERROR - FILE_SERVICE$LIST_FILES_ERROR - FILE_SERVICE$SAVE_FILE_ERROR - FILE_SERVICE$INVALID_FILE_PATH ## Files Changed - `src/services/fileService.ts` - `src/i18n/translations.json` ## Key Implementation Details ```typescript export async function saveFile(filePath: string, content: string): Promise<void> { const { t } = useTranslation(); if (!filePath || filePath.includes('..')) { toast.error(t(I18nKey.FILE_SERVICE$INVALID_FILE_PATH)); throw new Error('Invalid file path'); } try { // Existing implementation... } catch (error) { console.error('Error saving file:', error); toast.error(t(I18nKey.FILE_SERVICE$SAVE_FILE_ERROR), 'File Save Error'); throw error; } } ``` ## Testing - Verified that the saveFile function rejects invalid file paths (empty or containing '..') - Confirmed that appropriate error messages are displayed using toast notifications for all file operations - Tested with different languages to ensure translated messages appear correctly ## Security Implications The file path check in saveFile enhances security by preventing potential directory traversal attacks. ## Next Steps - Consider adding similar safety checks to other file operations if applicable - Ensure thorough testing of error scenarios across all supported languages * Add docstrings to listen.py # Add docstrings to listen.py ## Description This PR adds comprehensive docstrings to all functions in the `listen.py` file. These additions improve code documentation, making the file more readable and maintainable for current and future developers. ## Changes - Added docstrings to all functions in `listen.py` - Docstrings follow the Google Python Style Guide format - Included descriptions, parameters, return values, and potential exceptions for each function ## Files Changed - `src/listen.py` ## Docstring Example Here's an example of one of the added docstrings: ```python @app.post('/api/save-file') async def save_file(request: Request): """ Save a file to the agent's runtime file store. This endpoint allows saving a file when the agent is in a paused, finished, or awaiting user input state. It checks the agent's state before proceeding with the file save operation. Args: request (Request): The incoming FastAPI request object. Returns: JSONResponse: A JSON response indicating the success of the operation. Raises: HTTPException: - 403 error if the agent is not in an allowed state for editing. - 400 error if the file path or content is missing. - 500 error if there's an unexpected error during the save operation. """ # Function implementation... ``` ## Impact - Improved code readability and maintainability - Better understanding of function purposes, inputs, outputs, and potential errors - Easier onboarding for new developers working on this file - Enhanced IDE support for function descriptions and parameter information ## Testing - No functional changes were made, so existing tests should pass without modification - Manual review of docstrings for accuracy and completeness is recommended ## Next Steps - Consider adding similar docstrings to other files in the project for consistency - Review the added docstrings to ensure they accurately describe the current functionality - Update docstrings as needed when function implementations change in the future ## Additional Notes The existing code structure and functionality remain unchanged. This PR focuses solely on improving documentation through the addition of docstrings. * Revert exclude_list formatting and add docstrings in listen.py # Revert exclude_list formatting and add docstrings in listen.py ## Description This PR makes two main changes to the `listen.py` file: 1. Reverts the `exclude_list` in the `list_files` function to its original format, with each item on a separate line. 2. Adds comprehensive docstrings to all functions in the file. These changes improve code readability, maintain consistency with project standards, and enhance documentation for better maintainability. ## Changes 1. Updated `opendevin/server/listen.py`: - Reverted `exclude_list` formatting in `list_files` function - Added docstrings to all functions ## Detailed Changes ### 1. Reverted exclude_list formatting ```python exclude_list = ( '.git', '.DS_Store', '.svn', '.hg', '.idea', '.vscode', '.settings', '.pytest_cache', '__pycache__', 'node_modules', 'vendor', 'build', 'dist', 'bin', 'logs', 'log', 'tmp', 'temp', 'coverage', 'venv', 'env', ) ``` ### 2. Added docstrings (example) ```python @app.get('/api/list-files') def list_files(request: Request, path: str = '/'): """ List files in the specified path. This function retrieves a list of files from the agent's runtime file store, excluding certain system and hidden files/directories. Args: request (Request): The incoming request object. path (str, optional): The path to list files from. Defaults to '/'. Returns: list: A list of file names in the specified path. Raises: HTTPException: If there's an error listing the files. """ # Function implementation... ``` ## Rationale - Reverting `exclude_list` formatting maintains consistency with the project's coding style and ensures proper functioning of pre-commit hooks. - Adding docstrings improves code documentation, making it easier for developers to understand and maintain the codebase. ## Impact - Improved code readability and consistency - Enhanced documentation for all functions in `listen.py` - Easier onboarding for new developers - Better IDE support for function descriptions and parameter information ## Testing - No functional changes were made, so existing tests should pass without modification - Manual review of the reverted `exclude_list` and new docstrings is recommended ## Additional Notes - The existing code functionality remains unchanged - All functions in `listen.py` now have detailed docstrings following the Google Python Style Guide format ## Next Steps - Review the added docstrings to ensure they accurately describe the current functionality - Consider adding similar docstrings to other files in the project for consistency - Update docstrings as needed when function implementations change in the future * made code reviewable * fixed ruff issues * Update listen.py docstrings * final tweaks * re-added encodedURIComponent in selectFile --------- Co-authored-by: tobitege <[email protected]> Co-authored-by: sp.wack <[email protected]> * Fix: Add scroll functionality to file explorer sidepane (#2731) * Fix: Add scroll and resize functionalities to file explorer * fix: the icon missing from filename and tree scroll * CI: For colima, modify CPU count and memory (#2712) * CI: For colima, modify CPUcount and memory * fix arg * chore(deps-dev): bump typescript from 5.5.2 to 5.5.3 in /frontend (#2741) Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.5.2 to 5.5.3. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml) - [Commits](https://github.com/Microsoft/TypeScript/compare/v5.5.2...v5.5.3) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump litellm from 1.40.29 to 1.41.3 (#2746) Bumps [litellm](https://github.com/BerriAI/litellm) from 1.40.29 to 1.41.3. - [Release notes](https://github.com/BerriAI/litellm/releases) - [Commits](https://github.com/BerriAI/litellm/compare/v1.40.29...v1.41.3) --- updated-dependencies: - dependency-name: litellm dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump openai from 1.35.7 to 1.35.8 (#2745) Bumps [openai](https://github.com/openai/openai-python) from 1.35.7 to 1.35.8. - [Release notes](https://github.com/openai/openai-python/releases) - [Changelog](https://github.com/openai/openai-python/blob/main/CHANGELOG.md) - [Commits](https://github.com/openai/openai-python/compare/v1.35.7...v1.35.8) --- updated-dependencies: - dependency-name: openai dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump @typescript-eslint/parser in /frontend (#2743) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 7.14.1 to 7.15.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.15.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump boto3 from 1.34.136 to 1.34.137 (#2744) Bumps [boto3](https://github.com/boto/boto3) from 1.34.136 to 1.34.137. - [Release notes](https://github.com/boto/boto3/releases) - [Commits](https://github.com/boto/boto3/compare/1.34.136...1.34.137) --- updated-dependencies: - dependency-name: boto3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump @typescript-eslint/eslint-plugin in /frontend (#2742) Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 7.14.1 to 7.15.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.15.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * [Evaluation] fix SWE-Bench docker image name (#2751) * fix double underscore * remove unused script * feature: Add config template. (#2736) Signed-off-by: ifuryst <[email protected]> * Remove global args (#2760) * Remove global args * Remove global args * Update files * Update main * Bug fixes * Fix logging * feature: Enable DEBUG level logging based on config setting. (#2762) Signed-off-by: ifuryst <[email protected]> * docs: Update custom sandbox guide to include steps to use pre-existin… (#2740) * docs: Update custom sandbox guide to include steps to use pre-existing Docker images #2734 * docs: Update custom and pre-existing sandbox guide * docs: Update custom and pre-existing sandbox guide * chore(deps): bump boto3 from 1.34.137 to 1.34.138 (#2769) Bumps [boto3](https://github.com/boto/boto3) from 1.34.137 to 1.34.138. - [Release notes](https://github.com/boto/boto3/releases) - [Commits](https://github.com/boto/boto3/compare/1.34.137...1.34.138) --- updated-dependencies: - dependency-name: boto3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump openai from 1.35.8 to 1.35.9 (#2770) Bumps [openai](https://github.com/openai/openai-python) from 1.35.8 to 1.35.9. - [Release notes](https://github.com/openai/openai-python/releases) - [Changelog](https://github.com/openai/openai-python/blob/main/CHANGELOG.md) - [Commits](https://github.com/openai/openai-python/compare/v1.35.8...v1.35.9) --- updated-dependencies: - dependency-name: openai dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Fix the FE failed unit test. (#2773) Signed-off-by: ifuryst <[email protected]> * Restore SWE-bench dep refs (#2752) * Restore SWE-bench dep refs * update poetry lock --------- Co-authored-by: Engel Nyst <[email protected]> Co-authored-by: Xingyao Wang <[email protected]> * chore(deps): bump react-router-dom from 6.24.0 to 6.24.1 in /frontend (#2768) * chore(deps): bump vite from 5.3.2 to 5.3.3 in /frontend (#2767) * chore(deps): bump jose from 5.6.2 to 5.6.3 in /frontend (#2766) * chore: Add architecture diagram. (#2783) * chore: Add architecture diagram. Signed-off-by: ifuryst <[email protected]> * Fix syntax error. Signed-off-by: ifuryst <[email protected]> --------- Signed-off-by: ifuryst <[email protected]> * Add 'latest' tag to Docker builds for stable releases only (#2781) - Ensure 'latest' always points to the most recent stable version - Address issue #2730: Release "latest" tag when pushing image to DockerHub * chore: Add docs for dependabot and add the open pr limit from 5 to 20. (#2784) Signed-off-by: ifuryst <[email protected]> * refactor: multiple code improvements (#2771) * chore(deps): bump boto3 from 1.34.138 to 1.34.139 (#2788) Bumps [boto3](https://github.com/boto/boto3) from 1.34.138 to 1.34.139. - [Release notes](https://github.com/boto/boto3/releases) - [Commits](https://github.com/boto/boto3/compare/1.34.138...1.34.139) --- updated-dependencies: - dependency-name: boto3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump litellm from 1.41.3 to 1.41.6 (#2790) Bumps [litellm](https://github.com/BerriAI/litellm) from 1.41.3 to 1.41.6. - [Release notes](https://github.com/BerriAI/litellm/releases) - [Commits](https://github.com/BerriAI/litellm/compare/v1.41.3...v1.41.6) --- updated-dependencies: - dependency-name: litellm dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump react from 18.2.0 to 18.3.1 in /docs (#2786) * chore(deps): bump react-dom from 18.2.0 to 18.3.1 in /docs (#2787) * chore(deps-dev): bump typescript from 5.2.2 to 5.5.3 in /docs (#2785) * chore(deps-dev): bump openai from 1.35.9 to 1.35.10 (#2789) * chore(deps): bump framer-motion from 11.2.12 to 11.2.13 in /frontend (#2793) Bumps [framer-motion](https://github.com/framer/motion) from 11.2.12 to 11.2.13. - [Changelog](https://github.com/framer/motion/blob/main/CHANGELOG.md) - [Commits](https://github.com/framer/motion/compare/v11.2.12...v11.2.13) --- updated-dependencies: - dependency-name: framer-motion dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Added local ollama models (#2433) * added local ollama models * add ollama_base_url config * Update listen.py * add docs * Update opendevin/server/listen.py Co-authored-by: Graham Neubig <[email protected]> * lint --------- Co-authored-by: Graham Neubig <[email protected]> * Make CodeAct finish task (#2673) * Added feature to CodeAct agent to finish action instead of waiting for user input. * Minor change * Update agenthub/codeact_agent/codeact_agent.py Co-authored-by: மனோஜ்குமார் பழனிச்சாமி <[email protected]> * updated integration tests with claude-sonnet-3.5 * Update agenthub/codeact_agent/prompt.py Co-authored-by: Boxuan Li <[email protected]> * updated tests to remove typo in prompt * resolve merge conflicts II * revert unintended change of regenerate script * re-regenerating prompts to resolve merge conflicts --------- Co-authored-by: மனோஜ்குமார் பழனிச்சாமி <[email protected]> Co-authored-by: Boxuan Li <[email protected]> * Add event synchronously (#2700) * add to event stream sync * remove async from tests * [Evaluation] Log empty patch stats for SWE-Bench (#2776) * bump swebench version since the fix PR is merged * add empy generation stats from latest pr * delete eval_outputs if it already exists * handle non string patch * [Arch] Removing docker exec box (#2802) * depracting docker exec box * remove doc exec from workflow and docs * [Eval] initialize llm inside process_instance to circumvent "AttributeError:… (#2805) * initialize llm inside process_instance to circumvent "AttributeError: Can't pickle local object" * update kwargs * retry for internal server error (#2806) * Refactored sandbox config and added fast boot (#2455) * Refactored sandbox config and added fastboot * added tests * fixed tests * fixed tests * intimate user about breaking change * remove default config from eval * check for lowercase env * add test * Revert Migration * migrate old sandbox configs * resolve merge conflict * revert migration 2 * Revert "remove default config from eval" This reverts commit de57c588dbf29a3327798ce68976e2d2277b8bb1. * change type to box_type * fix var name * linted * lint * lint comments * fix tests * fix tests * fix typo * fix box_type, remove fast_boot * add tests for sandbox config * fix test * update eval docs * small removal comments * adapt toml template * old fields shouldn't be in the app dataclass * fix old keys in app config * clean up exec box --------- Co-authored-by: Engel Nyst <[email protected]> * docs: update docker run command to pull default 'latest' tag (#2804) - Ensure users get the most recent stable release version when pulling default image. - Explains the main tag for those who want the most recent updates. * Simplify eval code (#2775) * Start simplifying eval code * Update * Add EDA * Updated GAIA * Update gpqa * Add humanevalfix * Fix logic_reasoning * Add miniwob * Add mint and ml_bench * toolqa * Added swe-bench * Fixed webarena * Refactor parameters * chore(deps): bump litellm from 1.41.6 to 1.41.7 (#2812) Bumps [litellm](https://github.com/BerriAI/litellm) from 1.41.6 to 1.41.7. - [Release notes](https://github.com/BerriAI/litellm/releases) - [Commits](https://github.com/BerriAI/litellm/compare/v1.41.6...v1.41.7) --- updated-dependencies: - dependency-name: litellm dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump ruff from 0.5.0 to 0.5.1 (#2811) Bumps [ruff](https://github.com/astral-sh/ruff) from 0.5.0 to 0.5.1. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/0.5.0...0.5.1) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * delete colima profile (#2807) * chore(deps): bump tenacity from 8.4.2 to 8.5.0 (#2813) Bumps [tenacity](https://github.com/jd/tenacity) from 8.4.2 to 8.5.0. - [Release notes](https://github.com/jd/tenacity/releases) - [Commits](https://github.com/jd/tenacity/compare/8.4.2...8.5.0) --- updated-dependencies: - dependency-name: tenacity dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: yufansong <[email protected]> * Update README (#2814) Co-authored-by: Mahmoud Work <[email protected]> * Use README as the only place for getting started instructions (#2815) Co-authored-by: Mahmoud Work <[email protected]> * [Arch] Remove supports for Background Commands (#2803) * depracting docker exec box * remove doc exec from workflow and docs * remove background commands * Update tests/unit/test_sandbox.py Co-authored-by: Engel Nyst <[email protected]> * replace for-loop with assignment * fix integration tests * fix integration tests for shell script * fix integration tests * increase max iter to fix some monologue agent issue * fix integration test again * fix integration tests (seems related to run_user issue) --------- Co-authored-by: Engel Nyst <[email protected]> * [Evaluation] Simplify eval & and multi-processing related fixes (#2810) * initialize agent inside process_instance_fn; * remove dependency on `config.max_iterations` * switch back to only include llm config to metadata * CI: Support uploading frontend unit test coverage. (#2772) * CI: Support uploading frontend unit test coverage. * Add make-i18n before test. * Update vitest configuration to include only .ts and .tsx files in coverage. * remove .only in test and fix the failed tests. * Add text summary. * Move vite-tsconfig-paths to dev dep. Adjust UTs. --------- Signed-off-by: ifuryst <[email protected]> Co-authored-by: sp.wack <[email protected]…
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Reverts #2586 due to actions automatically cancelled.