Devika is an Agentic AI Software Engineer that can understand high-level human instructions, break them down into steps, research relevant information, and write code to achieve the given objective. Devika aims to be a competitive open-source alternative to Devin by Cognition AI.
MIT License
18.5k
stars
2.4k
forks
source link
[ISSUE] Constantly thinks its done and then leaves nothing but placeholders #613
The task starts off good i am using a local version but it always gets to a point where its just like i have completed the task and then you check the tasks and there's literally just function names and placeholders, then when you ask it to run it as a sample or to fix an issues you just get multiple errors like invalid response from model failed attempt 5 please try another model etc.
plus is saving the file names inside of quotations which is unusable not sure if thats the issue?
How To Reproduce
Steps to reproduce the behavior (example):
ask it to build a table creator application where you can edit and view the table through a viewing windows and some css and js to make it work and have it save the output in html format to upload them to products
let it run and it will eventually research and say its done
then just use a request for a sample or try and run it yourself you will have all placeholders and it wont work
Expected behavior
no placehoders or not be an error and have to start over in a new project just ti get the same loops
Screenshots and logs
6-27 16:24:37'}]
24.06.27 16:24:38: root: INFO : SOCKET tokens MESSAGE: {'token_usage': 5512}
Model: phi3:latest, Enum: OLLAMA
24.06.27 16:24:38: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '0.00'}
24.06.27 16:24:39: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '0.51'}
24.06.27 16:24:39: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '1.02'}
24.06.27 16:24:40: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '1.54'}
24.06.27 16:24:40: root: INFO : SOCKET tokens MESSAGE: {'token_usage': 2900}
24.06.27 16:24:40: root: INFO : SOCKET info MESSAGE: {'type': 'error', 'message': 'Failed to parse response as JSON'}
Invalid response from the model, I'm trying again...
24.06.27 16:24:40: root: INFO : SOCKET info MESSAGE: {'type': 'warning', 'message': 'Invalid response from the model, trying again...'}
24.06.27 16:24:42: root: INFO : SOCKET agent-state MESSAGE: [{'internal_monologue': "I'm starting the work...", 'browser_session': {'url': None, 'screenshot': None}, 'terminal_session': {'command': None, 'output': None, 'title': None}, 'step': 1, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 2031, 'timestamp': '2024-06-27 16:21:35'}, {'internal_monologue': "Alright, let's start by researching some HTML/CSS frameworks to make UI development smoother. I want our interface to be intuitive and user-friendly, so designing it with care is crucial.", 'browser_session': {'url': None, 'screenshot': None}, 'terminal_session': {'command': None, 'output': None, 'title': None}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 752, 'timestamp': '2024-06-27 16:21:46'}, {'internal_monologue': 'Browsing the web right now...', 'browser_session': {'url': 'https://github.com/troxler/awesome-css-frameworks', 'screenshot': 'data/screenshots\6c13c10d6e7b68b7d3fbdba0d40609aab63315f8.png'}, 'terminal_session': {'command': None, 'output': None, 'title': None}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 2186, 'timestamp': '2024-06-27 16:21:58'}, {'internal_monologue': 'Browsing the web right now...', 'browser_session': {'url': 'https://www.section508.gov/content/guide-accessible-web-design-development/', 'screenshot': 'data/screenshots\06c9827a5922e7f472dcfea5a870983f5a896c84.png'}, 'terminal_session': {'command': None, 'output': None, 'title': None}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 9976, 'timestamp': '2024-06-27 16:22:24'}, {'internal_monologue': 'Browsing the web right now...', 'browser_session': {'url': 'https://stackoverflow.com/questions/14964035/how-to-export-javascript-array-info-to-csv-on-client-side', 'screenshot': 'data/screenshots\b429de1366e9e18a56b8c96546c0f6af23962181.png'}, 'terminal_session': {'command': None, 'output': None, 'title': None}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 15850, 'timestamp': '2024-06-27 16:22:42'}, {'internal_monologue': 'Writing code...', 'browser_session': {'url': 'https://stackoverflow.com/questions/14964035/how-to-export-javascript-array-info-to-csv-on-client-side', 'screenshot': 'data/screenshots\b429de1366e9e18a56b8c96546c0f6af23962181.png'}, 'terminal_session': {'command': 'vim README.md', 'output': "# Vehicle Fitment Table Maker Project\n\nThis project aims to create an interactive web application for managing vehicle fitment data with user-friendly features and robust functionality. The development process includes UI design, JavaScript implementation, data persistence, and final integration.\n\n## Step-by-Step Plan\n\n1. Research existing HTML/CSS frameworks (Requirements.txt)\n2. Design the interface for vehicle fitment table management (src/ui_design.rs)\n3. Implement CRUD operations in JavaScript (src/js/fitment_table.rs)\n4. Ensure data persistence with local storage or a database (src/db/persistence.rs)\n5. Test functionalities across browsers and devices (tests/integration_test.rs)\n6. Document the application's features and usage (docs/documentation.md)\n", 'title': 'Editing README.md'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:23:14'}, {'internal_monologue': 'Writing code...', 'browser_session': {'url': 'https://stackoverflow.com/questions/14964035/how-to-export-javascript-array-info-to-csv-on-client-side', 'screenshot': 'data/screenshots\b429de1366e9e18a56b8c96546c0f6af23962181.png'}, 'terminal_session': {'command': 'vim requirements.txt', 'output': '# Dependencies for UI design research\n\nrequests==2.25.1\nbeautifulsoup4==4.9.3\n', 'title': 'Editing requirements.txt'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:23:16'}, {'internal_monologue': 'Writing code...', 'browser_session': {'url': 'https://stackoverflow.com/questions/14964035/how-to-export-javascript-array-info-to-csv-on-client-side', 'screenshot': 'data/screenshots\b429de1366e9e18a56b8c96546c0f6af23962181.png'}, 'terminal_session': {'command': 'vim src/ui_design.rs', 'output': "// src/ui_design.rs\nuse yew::prelude::;\n\nfn create_fitment_table_component() -> Html {\n html! {\n <>\n
\n // UI design elements for vehicle fitment table management go here\n ---ASSISTANT 1---\nProject Step-by-step Plan:\nProject Name: Vehicle Fitment Table Maker\n\nYour Reply to the Human Prompter: I will outline a structured plan that encompasses UI design, JavaScript functionality, data persistence, and final integration for creating an interactive vehicle fitment table web application.\n\nCurrent Focus: Developing a comprehensive web application with user-friendly features for managing vehicle fitment data.\n\nPlan:\n\n1. Research existing HTML/CSS frameworks to streamline UI development (File: research_frameworks.md)\n2. Design the interface, including input fields and buttons for adding/deleting rows (File: ui_design.rs)\n3. Implement JavaScript functions for row addition, deletion, and CSV export (File: js_functions.rs)\n4. Ensure data persistence by storing table data in local storage or a database (File: data_persistence.rs)\n5. Test all functionalities across different browsers and devices (File: test_suite.rs)\n6. Create detailed documentation on the application's features and usage (File: documentation.md)\n\nSummary: The plan involves designing an intuitive UI, coding interactive JavaScript functions for CRUD operations, ensuring data persistence, thorough testing, and providing comprehensive documentation to deliver a robust vehicle fitment table web application that meets user requirements efficiently.\n\n", 'title': 'Editing src/ui_design.rs'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:23:18'}, {'internal_monologue': 'Writing code...', 'browser_session': {'url': 'https://stackoverflow.com/questions/14964035/how-to-export-javascript-array-info-to-csv-on-client-side', 'screenshot': 'data/screenshots\b429de1366e9e18a56b8c96546c0f6af23962181.png'}, 'terminal_session': {'command': 'vim research_frameworks.md', 'output': "# Researching HTML/CSS Frameworks\n\nThis document outlines the research process for selecting an appropriate framework or library to streamline UI development for our Vehicle Fitment Table Maker application. The chosen framework should support responsive design, provide a rich set of components, and have good community support.\n\n## Steps:\n\n1. Identify key requirements for the UI (e.g., accessibility, performance).\n2. List potential frameworks that meet these criteria (e.g., React, Vue.js, Bootstrap).\n3. Evaluate each framework based on documentation quality, community support, and compatibility with our project's needs.\n4. Select a framework and document the decision-making process for future reference.\n", 'title': 'Editing research_frameworks.md'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:23:20'}, {'internal_monologue': 'Writing code...', 'browser_session': {'url': 'https://stackoverflow.com/questions/14964035/how-to-export-javascript-array-info-to-csv-on-client-side', 'screenshot': 'data/screenshots\b429de1366e9e18a56b8c96546c0f6af23962181.png'}, 'terminal_session': {'command': 'vim ui_design.rs', 'output': '// src/ui_design.rs\nuse yew::prelude::;\n\npub struct FitmentTable {\n pub rows: Vec,\n}\n\n#[derive(Properties, ComponentLink)]\npub struct Row {\n #[prop_or(Vec::new())]\n pub data: Vec,\n}\n\nimpl Component for FitmentTable {\n // Define component properties and lifecycle methods here.\n}\n', 'title': 'Editing ui_design.rs'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:23:22'}, {'internal_monologue': 'Writing code...', 'browser_session': {'url': 'https://stackoverflow.com/questions/14964035/how-to-export-javascript-array-info-to-csv-on-client-side', 'screenshot': 'data/screenshots\b429de1366e9e18a56b8c96546c0f6af23962181.png'}, 'terminal_session': {'command': 'vim js_functions.rs', 'output': '// src/js_functions.rs\nuse wasm_bindgen::prelude::;\n\n#[wasm_bindgen]\npub fn add_row(fitment_table: &mut FitmentTable) {\n // Implement row addition logic here.\n}\n\n#[wasm_bindgen]\npub fn delete_row(fitment_table: &mut FitmentTable, index: usize) {\n // Implement row deletion logic here.\n}\n\n#[wasm_bindgen]\npub fn export_csv(fitment_table: &FitmentTable) -> String {\n // Implement CSV export functionality here.\n}\n', 'title': 'Editing js_functions.rs'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:23:24'}, {'internal_monologue': 'Writing code...', 'browser_session': {'url': 'https://stackoverflow.com/questions/14964035/how-to-export-javascript-array-info-to-csv-on-client-side', 'screenshot': 'data/screenshots\b429de1366e9e18a56b8c96546c0f6af23962181.png'}, 'terminal_session': {'command': 'vim data_persistence.rs', 'output': '// src/db/persistence.rs\nuse wasm_bindgen::JsValue;\n\n#[wasm_bindgen]\npub fn save_to_local_storage(fitment_table: &FitmentTable) {\n // Implement local storage logic here.\n}\n\n#[wasm_bindgen]\npub fn load_from_local_storage() -> JsValue {\n // Implement loading from local storage logic here.\n}\n', 'title': 'Editing data_persistence.rs'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:23:26'}, {'internal_monologue': 'Agent has completed the task.', 'browser_session': {'url': 'https://stackoverflow.com/questions/14964035/how-to-export-javascript-array-info-to-csv-on-client-side', 'screenshot': 'data/screenshots\b429de1366e9e18a56b8c96546c0f6af23962181.png'}, 'terminal_session': {'command': 'vim test_suite.rs', 'output': '// tests/test_suite.rs\nuse wasm_bindgen_test::;\n\n#[wasm_bindgen_test]\nfn test_add_row() {\n // Implement unit tests for adding rows here.\n}\n\n#[wasm_bindgen_test]\nfn test_delete_row() {\neo', 'title': 'Editing test_suite.rs'}, 'step': 0, 'message': None, 'completed': True, 'agent_is_active': True, 'token_usage': 4117, 'timestamp': '2024-06-27 16:23:28'}, {'internal_monologue': 'Running code...', 'browser_session': {'url': None, 'screenshot': None}, 'terminal_session': {'command': 'pip3 install -r requirements.txt', 'output': '', 'title': 'Terminal'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:24:14'}, {'internal_monologue': 'Oh seems like there is some error... :(', 'browser_session': {'url': None, 'screenshot': None}, 'terminal_session': {'command': 'pip3 install -r requirements.txt', 'output': '', 'title': 'Terminal'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 2828, 'timestamp': '2024-06-27 16:24:15'}, {'internal_monologue': 'Running code...', 'browser_session': {'url': None, 'screenshot': None}, 'terminal_session': {'command': 'pip3 install -r requirements.txt', 'output': '', 'title': 'Terminal'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:24:21'}, {'internal_monologue': 'Oh seems like there is some error... :(', 'browser_session': {'url': None, 'screenshot': None}, 'terminal_session': {'command': 'pip3 install -r requirements.txt', 'output': '', 'title': 'Terminal'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 2828, 'timestamp': '2024-06-27 16:24:22'}, {'internal_monologue': 'Running code...', 'browser_session': {'url': None, 'screenshot': None}, 'terminal_session': {'command': 'pip3 install -r requirements.txt', 'output': '', 'title': 'Terminal'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:24:28'}, {'internal_monologue': 'Oh seems like there is some error... :(', 'browser_session': {'url': None, 'screenshot': None}, 'terminal_session': {'command': 'pip3 install -r requirements.txt', 'output': '', 'title': 'Terminal'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 2828, 'timestamp': '2024-06-27 16:24:30'}, {'internal_monologue': 'Running code...', 'browser_session': {'url': None, 'screenshot': None}, 'terminal_session': {'command': 'pip3 install -r requirements.txt', 'output': '', 'title': 'Terminal'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:24:36'}, {'internal_monologue': 'Oh seems like there is some error... :(', 'browser_session': {'url': None, 'screenshot': None}, 'terminal_session': {'command': 'pip3 install -r requirements.txt', 'output': '', 'title': 'Terminal'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 2828, 'timestamp': '2024-06-27 16:24:37'}, {'internal_monologue': 'Running code...', 'browser_session': {'url': None, 'screenshot': None}, 'terminal_session': {'command': 'pip3 install -r requirements.txt', 'output': '', 'title': 'Terminal'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:24:42'}]
24.06.27 16:24:43: root: INFO : SOCKET agent-state MESSAGE: [{'internal_monologue': "I'm starting the work...", 'browser_session': {'url': None, 'screenshot': None}, 'terminal_session': {'command': None, 'output': None, 'title': None}, 'step': 1, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 2031, 'timestamp': '2024-06-27 16:21:35'}, {'internal_monologue': "Alright, let's start by researching some HTML/CSS frameworks to make UI development smoother. I want our interface to be intuitive and user-friendly, so designing it with care is crucial.", 'browser_session': {'url': None, 'screenshot': None}, 'terminal_session': {'command': None, 'output': None, 'title': None}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 752, 'timestamp': '2024-06-27 16:21:46'}, {'internal_monologue': 'Browsing the web right now...', 'browser_session': {'url': 'https://github.com/troxler/awesome-css-frameworks', 'screenshot': 'data/screenshots\6c13c10d6e7b68b7d3fbdba0d40609aab63315f8.png'}, 'terminal_session': {'command': None, 'output': None, 'title': None}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 2186, 'timestamp': '2024-06-27 16:21:58'}, {'internal_monologue': 'Browsing the web right now...', 'browser_session': {'url': 'https://www.section508.gov/content/guide-accessible-web-design-development/', 'screenshot': 'data/screenshots\06c9827a5922e7f472dcfea5a870983f5a896c84.png'}, 'terminal_session': {'command': None, 'output': None, 'title': None}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 9976, 'timestamp': '2024-06-27 16:22:24'}, {'internal_monologue': 'Browsing the web right now...', 'browser_session': {'url': 'https://stackoverflow.com/questions/14964035/how-to-export-javascript-array-info-to-csv-on-client-side', 'screenshot': 'data/screenshots\b429de1366e9e18a56b8c96546c0f6af23962181.png'}, 'terminal_session': {'command': None, 'output': None, 'title': None}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 15850, 'timestamp': '2024-06-27 16:22:42'}, {'internal_monologue': 'Writing code...', 'browser_session': {'url': 'https://stackoverflow.com/questions/14964035/how-to-export-javascript-array-info-to-csv-on-client-side', 'screenshot': 'data/screenshots\b429de1366e9e18a56b8c96546c0f6af23962181.png'}, 'terminal_session': {'command': 'vim README.md', 'output': "# Vehicle Fitment Table Maker Project\n\nThis project aims to create an interactive web application for managing vehicle fitment data with user-friendly features and robust functionality. The development process includes UI design, JavaScript implementation, data persistence, and final integration.\n\n## Step-by-Step Plan\n\n1. Research existing HTML/CSS frameworks (Requirements.txt)\n2. Design the interface for vehicle fitment table management (src/ui_design.rs)\n3. Implement CRUD operations in JavaScript (src/js/fitment_table.rs)\n4. Ensure data persistence with local storage or a database (src/db/persistence.rs)\n5. Test functionalities across browsers and devices (tests/integration_test.rs)\n6. Document the application's features and usage (docs/documentation.md)\n", 'title': 'Editing README.md'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:23:14'}, {'internal_monologue': 'Writing code...', 'browser_session': {'url': 'https://stackoverflow.com/questions/14964035/how-to-export-javascript-array-info-to-csv-on-client-side', 'screenshot': 'data/screenshots\b429de1366e9e18a56b8c96546c0f6af23962181.png'}, 'terminal_session': {'command': 'vim requirements.txt', 'output': '# Dependencies for UI design research\n\nrequests==2.25.1\nbeautifulsoup4==4.9.3\n', 'title': 'Editing requirements.txt'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:23:16'}, {'internal_monologue': 'Writing code...', 'browser_session': {'url': 'https://stackoverflow.com/questions/14964035/how-to-export-javascript-array-info-to-csv-on-client-side', 'screenshot': 'data/screenshots\b429de1366e9e18a56b8c96546c0f6af23962181.png'}, 'terminal_session': {'command': 'vim src/ui_design.rs', 'output': "// src/ui_design.rs\nuse yew::prelude::;\n\nfn create_fitment_table_component() -> Html {\n html! {\n <>\n
\n // UI design elements for vehicle fitment table management go here\n ---ASSISTANT 1---\nProject Step-by-step Plan:\nProject Name: Vehicle Fitment Table Maker\n\nYour Reply to the Human Prompter: I will outline a structured plan that encompasses UI design, JavaScript functionality, data persistence, and final integration for creating an interactive vehicle fitment table web application.\n\nCurrent Focus: Developing a comprehensive web application with user-friendly features for managing vehicle fitment data.\n\nPlan:\n\n1. Research existing HTML/CSS frameworks to streamline UI development (File: research_frameworks.md)\n2. Design the interface, including input fields and buttons for adding/deleting rows (File: ui_design.rs)\n3. Implement JavaScript functions for row addition, deletion, and CSV export (File: js_functions.rs)\n4. Ensure data persistence by storing table data in local storage or a database (File: data_persistence.rs)\n5. Test all functionalities across different browsers and devices (File: test_suite.rs)\n6. Create detailed documentation on the application's features and usage (File: documentation.md)\n\nSummary: The plan involves designing an intuitive UI, coding interactive JavaScript functions for CRUD operations, ensuring data persistence, thorough testing, and providing comprehensive documentation to deliver a robust vehicle fitment table web application that meets user requirements efficiently.\n\n", 'title': 'Editing src/ui_design.rs'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:23:18'}, {'internal_monologue': 'Writing code...', 'browser_session': {'url': 'https://stackoverflow.com/questions/14964035/how-to-export-javascript-array-info-to-csv-on-client-side', 'screenshot': 'data/screenshots\b429de1366e9e18a56b8c96546c0f6af23962181.png'}, 'terminal_session': {'command': 'vim research_frameworks.md', 'output': "# Researching HTML/CSS Frameworks\n\nThis document outlines the research process for selecting an appropriate framework or library to streamline UI development for our Vehicle Fitment Table Maker application. The chosen framework should support responsive design, provide a rich set of components, and have good community support.\n\n## Steps:\n\n1. Identify key requirements for the UI (e.g., accessibility, performance).\n2. List potential frameworks that meet these criteria (e.g., React, Vue.js, Bootstrap).\n3. Evaluate each framework based on documentation quality, community support, and compatibility with our project's needs.\n4. Select a framework and document the decision-making process for future reference.\n", 'title': 'Editing research_frameworks.md'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:23:20'}, {'internal_monologue': 'Writing code...', 'browser_session': {'url': 'https://stackoverflow.com/questions/14964035/how-to-export-javascript-array-info-to-csv-on-client-side', 'screenshot': 'data/screenshots\b429de1366e9e18a56b8c96546c0f6af23962181.png'}, 'terminal_session': {'command': 'vim ui_design.rs', 'output': '// src/ui_design.rs\nuse yew::prelude::;\n\npub struct FitmentTable {\n pub rows: Vec,\n}\n\n#[derive(Properties, ComponentLink)]\npub struct Row {\n #[prop_or(Vec::new())]\n pub data: Vec,\n}\n\nimpl Component for FitmentTable {\n // Define component properties and lifecycle methods here.\n}\n', 'title': 'Editing ui_design.rs'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:23:22'}, {'internal_monologue': 'Writing code...', 'browser_session': {'url': 'https://stackoverflow.com/questions/14964035/how-to-export-javascript-array-info-to-csv-on-client-side', 'screenshot': 'data/screenshots\b429de1366e9e18a56b8c96546c0f6af23962181.png'}, 'terminal_session': {'command': 'vim js_functions.rs', 'output': '// src/js_functions.rs\nuse wasm_bindgen::prelude::;\n\n#[wasm_bindgen]\npub fn add_row(fitment_table: &mut FitmentTable) {\n // Implement row addition logic here.\n}\n\n#[wasm_bindgen]\npub fn delete_row(fitment_table: &mut FitmentTable, index: usize) {\n // Implement row deletion logic here.\n}\n\n#[wasm_bindgen]\npub fn export_csv(fitment_table: &FitmentTable) -> String {\n // Implement CSV export functionality here.\n}\n', 'title': 'Editing js_functions.rs'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:23:24'}, {'internal_monologue': 'Writing code...', 'browser_session': {'url': 'https://stackoverflow.com/questions/14964035/how-to-export-javascript-array-info-to-csv-on-client-side', 'screenshot': 'data/screenshots\b429de1366e9e18a56b8c96546c0f6af23962181.png'}, 'terminal_session': {'command': 'vim data_persistence.rs', 'output': '// src/db/persistence.rs\nuse wasm_bindgen::JsValue;\n\n#[wasm_bindgen]\npub fn save_to_local_storage(fitment_table: &FitmentTable) {\n // Implement local storage logic here.\n}\n\n#[wasm_bindgen]\npub fn load_from_local_storage() -> JsValue {\n // Implement loading from local storage logic here.\n}\n', 'title': 'Editing data_persistence.rs'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:23:26'}, {'internal_monologue': 'Agent has completed the task.', 'browser_session': {'url': 'https://stackoverflow.com/questions/14964035/how-to-export-javascript-array-info-to-csv-on-client-side', 'screenshot': 'data/screenshots\b429de1366e9e18a56b8c96546c0f6af23962181.png'}, 'terminal_session': {'command': 'vim test_suite.rs', 'output': '// tests/test_suite.rs\nuse wasm_bindgen_test::;\n\n#[wasm_bindgen_test]\nfn test_add_row() {\n // Implement unit tests for adding rows here.\n}\n\n#[wasm_bindgen_test]\nfn test_delete_row() {\neo', 'title': 'Editing test_suite.rs'}, 'step': 0, 'message': None, 'completed': True, 'agent_is_active': True, 'token_usage': 4117, 'timestamp': '2024-06-27 16:23:28'}, {'internal_monologue': 'Running code...', 'browser_session': {'url': None, 'screenshot': None}, 'terminal_session': {'command': 'pip3 install -r requirements.txt', 'output': '', 'title': 'Terminal'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:24:14'}, {'internal_monologue': 'Oh seems like there is some error... :(', 'browser_session': {'url': None, 'screenshot': None}, 'terminal_session': {'command': 'pip3 install -r requirements.txt', 'output': '', 'title': 'Terminal'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 2828, 'timestamp': '2024-06-27 16:24:15'}, {'internal_monologue': 'Running code...', 'browser_session': {'url': None, 'screenshot': None}, 'terminal_session': {'command': 'pip3 install -r requirements.txt', 'output': '', 'title': 'Terminal'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:24:21'}, {'internal_monologue': 'Oh seems like there is some error... :(', 'browser_session': {'url': None, 'screenshot': None}, 'terminal_session': {'command': 'pip3 install -r requirements.txt', 'output': '', 'title': 'Terminal'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 2828, 'timestamp': '2024-06-27 16:24:22'}, {'internal_monologue': 'Running code...', 'browser_session': {'url': None, 'screenshot': None}, 'terminal_session': {'command': 'pip3 install -r requirements.txt', 'output': '', 'title': 'Terminal'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:24:28'}, {'internal_monologue': 'Oh seems like there is some error... :(', 'browser_session': {'url': None, 'screenshot': None}, 'terminal_session': {'command': 'pip3 install -r requirements.txt', 'output': '', 'title': 'Terminal'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 2828, 'timestamp': '2024-06-27 16:24:30'}, {'internal_monologue': 'Running code...', 'browser_session': {'url': None, 'screenshot': None}, 'terminal_session': {'command': 'pip3 install -r requirements.txt', 'output': '', 'title': 'Terminal'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:24:36'}, {'internal_monologue': 'Oh seems like there is some error... :(', 'browser_session': {'url': None, 'screenshot': None}, 'terminal_session': {'command': 'pip3 install -r requirements.txt', 'output': '', 'title': 'Terminal'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 2828, 'timestamp': '2024-06-27 16:24:37'}, {'internal_monologue': 'Running code...', 'browser_session': {'url': None, 'screenshot': None}, 'terminal_session': {'command': 'pip3 install -r requirements.txt', 'output': '', 'title': 'Terminal'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:24:42'}, {'internal_monologue': 'Oh seems like there is some error... :(', 'browser_session': {'url': None, 'screenshot': None}, 'terminal_session': {'command': 'pip3 install -r requirements.txt', 'output': '', 'title': 'Terminal'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:24:43'}]
24.06.27 16:24:44: root: INFO : SOCKET tokens MESSAGE: {'token_usage': 5512}
Model: phi3:latest, Enum: OLLAMA
24.06.27 16:24:45: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '0.00'}
24.06.27 16:24:45: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '0.51'}
24.06.27 16:24:46: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '1.01'}
24.06.27 16:24:46: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '1.52'}
24.06.27 16:24:47: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '2.04'}
24.06.27 16:24:47: root: INFO : SOCKET tokens MESSAGE: {'token_usage': 2900}
24.06.27 16:24:47: root: INFO : SOCKET info MESSAGE: {'type': 'error', 'message': 'Failed to parse response as JSON'}
Invalid response from the model, I'm trying again...
24.06.27 16:24:47: root: INFO : SOCKET info MESSAGE: {'type': 'warning', 'message': 'Invalid response from the model, trying again...'}
Maximum 5 attempts reached. try other models
24.06.27 16:24:49: root: INFO : SOCKET info MESSAGE: {'type': 'error', 'message': 'Maximum attempts reached. model keeps failing.'}
24.06.27 16:28:22: root: INFO : User message: {'message': 'for some reason you only leave placeholders', 'base_model': 'phi3:14b', 'project_name': 'table 2', 'search_engine': 'Google'}
24.06.27 16:28:22: root: INFO : SOCKET info MESSAGE: {'type': 'warning', 'message': "previous agent doesn't completed it's task."}
24.06.27 16:28:22: root: INFO : SOCKET server-message MESSAGE: {'messages': {'from_devika': False, 'message': 'for some reason you only leave placeholders', 'timestamp': '2024-06-27 16:28:22'}}
24.06.27 16:28:22: root: INFO : SOCKET agent-state MESSAGE: [{'internal_monologue': "I'm starting the work...", 'browser_session': {'url': None, 'screenshot': None}, 'terminal_session': {'command': None, 'output': None, 'title': None}, 'step': 1, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:28:22'}]
24.06.27 16:28:22: root: INFO : SOCKET tokens MESSAGE: {'token_usage': 3566}
Model: phi3:14b, Enum: OLLAMA
24.06.27 16:28:22: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '0.00'}
24.06.27 16:28:23: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '0.51'}
24.06.27 16:28:23: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '1.02'}
24.06.27 16:28:24: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '1.52'}
24.06.27 16:28:24: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '2.03'}
24.06.27 16:28:25: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '2.53'}
24.06.27 16:28:25: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '3.04'}
24.06.27 16:28:26: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '3.55'}
24.06.27 16:28:26: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '4.05'}
24.06.27 16:28:27: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '4.56'}
24.06.27 16:28:27: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '5.06'}
24.06.27 16:28:27: root: INFO : SOCKET inference MESSAGE: {'type': 'warning', 'message': 'Inference is taking longer than expected'}
24.06.27 16:28:28: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '5.58'}
24.06.27 16:28:28: root: INFO : SOCKET inference MESSAGE: {'type': 'warning', 'message': 'Inference is taking longer than expected'}
24.06.27 16:28:28: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '6.08'}
24.06.27 16:28:29: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '6.59'}
24.06.27 16:28:29: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '7.10'}
24.06.27 16:28:30: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '7.60'}
24.06.27 16:28:30: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '8.11'}
24.06.27 16:28:31: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '8.63'}
24.06.27 16:28:31: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '9.14'}
24.06.27 16:28:32: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '9.64'}
24.06.27 16:28:32: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '10.14'}
24.06.27 16:28:33: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '10.65'}
24.06.27 16:28:33: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '11.15'}
24.06.27 16:28:34: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '11.66'}
24.06.27 16:28:34: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '12.16'}
24.06.27 16:28:35: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '12.67'}
24.06.27 16:28:35: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '13.17'}
24.06.27 16:28:36: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '13.68'}
24.06.27 16:28:36: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '14.18'}
24.06.27 16:28:37: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '14.69'}
24.06.27 16:28:37: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '15.20'}
24.06.27 16:28:38: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '15.70'}
24.06.27 16:28:38: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '16.20'}
24.06.27 16:28:38: root: INFO : SOCKET tokens MESSAGE: {'token_usage': 3929}
plan ::
Project Name: Placeholder Replacement Tool
Current Focus: Developing a tool that automatically replaces placeholders with user-provided content.
Plan:
[ ] Step 1: Define requirements and scope for the placeholder replacement functionality, including supported data types and input methods.
[ ] Step 2: Design the architecture of the application, deciding on technologies to be used (e.g., web framework, database).
[ ] Step 3: Set up a development environment with necessary tools and libraries for building the tool.
[ ] Step amoji4: Create user interface mockups that allow users to input placeholders and replacement content easily.
[ ] Step 5: Implement the core functionality of placeholder detection and replacement within text inputs.
[ ] Step 6: Develop a backend system if necessary, for handling more complex data processing or storage requirements.
[ ] Step 7: Write unit tests to ensure each component functions correctly in isolation.
[ ] Step 8: Integrate components into a working application and perform end-to-end testing.
[ ] Step 9: Collect user feedback on the tool's usability and functionality, making adjustments as needed.
[ ] Step 10: Prepare documentation for users to understand how to use the tool effectively.
[ ] Step 11: Deploy the application to a web server or cloud platform for public access.
[ ] Step 12: Monitor and maintain the application, fixing any issues that arise post-launch.
Summary: The plan outlines the development of a Placeholder Replacement Tool from requirements gathering through deployment. Key considerations include ensuring user-friendly design, robust functionality for various data types, and thorough testing to prevent bugs. Dependencies involve selecting appropriate technologies and tools that align with project scope. Potential challenges may arise in handling complex placeholder patterns or integrating backend systems if required.
Exception in thread Thread-7 ():
Traceback (most recent call last):
File "C:\Users\Deric.conda\envs\devika\lib\threading.py", line 1016, in _bootstrap_inner
self.run()
File "C:\Users\Deric.conda\envs\devika\lib\threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\Deric\devika\devika.py", line 99, in
thread = Thread(target=lambda: agent.execute(message, project_name))
File "C:\Users\Deric\devika\src\agents\agent.py", line 282, in execute
planner_response = self.planner.parse_response(plan)
File "C:\Users\Deric\devika\src\agents\planner\planner.py", line 55, in parse_response
result["plans"][int(current_step)] = line.split(":", 1)[1].strip()
ValueError: invalid literal for int() with base 10: 'amoji4'
Describe your issue
The task starts off good i am using a local version but it always gets to a point where its just like i have completed the task and then you check the tasks and there's literally just function names and placeholders, then when you ask it to run it as a sample or to fix an issues you just get multiple errors like invalid response from model failed attempt 5 please try another model etc.
plus is saving the file names inside of quotations which is unusable not sure if thats the issue?
How To Reproduce
Steps to reproduce the behavior (example):
Expected behavior
no placehoders or not be an error and have to start over in a new project just ti get the same loops
Screenshots and logs
6-27 16:24:37'}] 24.06.27 16:24:38: root: INFO : SOCKET tokens MESSAGE: {'token_usage': 5512} Model: phi3:latest, Enum: OLLAMA 24.06.27 16:24:38: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '0.00'} 24.06.27 16:24:39: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '0.51'} 24.06.27 16:24:39: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '1.02'} 24.06.27 16:24:40: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '1.54'} 24.06.27 16:24:40: root: INFO : SOCKET tokens MESSAGE: {'token_usage': 2900} 24.06.27 16:24:40: root: INFO : SOCKET info MESSAGE: {'type': 'error', 'message': 'Failed to parse response as JSON'} Invalid response from the model, I'm trying again... 24.06.27 16:24:40: root: INFO : SOCKET info MESSAGE: {'type': 'warning', 'message': 'Invalid response from the model, trying again...'} 24.06.27 16:24:42: root: INFO : SOCKET agent-state MESSAGE: [{'internal_monologue': "I'm starting the work...", 'browser_session': {'url': None, 'screenshot': None}, 'terminal_session': {'command': None, 'output': None, 'title': None}, 'step': 1, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 2031, 'timestamp': '2024-06-27 16:21:35'}, {'internal_monologue': "Alright, let's start by researching some HTML/CSS frameworks to make UI development smoother. I want our interface to be intuitive and user-friendly, so designing it with care is crucial.", 'browser_session': {'url': None, 'screenshot': None}, 'terminal_session': {'command': None, 'output': None, 'title': None}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 752, 'timestamp': '2024-06-27 16:21:46'}, {'internal_monologue': 'Browsing the web right now...', 'browser_session': {'url': 'https://github.com/troxler/awesome-css-frameworks', 'screenshot': 'data/screenshots\6c13c10d6e7b68b7d3fbdba0d40609aab63315f8.png'}, 'terminal_session': {'command': None, 'output': None, 'title': None}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 2186, 'timestamp': '2024-06-27 16:21:58'}, {'internal_monologue': 'Browsing the web right now...', 'browser_session': {'url': 'https://www.section508.gov/content/guide-accessible-web-design-development/', 'screenshot': 'data/screenshots\06c9827a5922e7f472dcfea5a870983f5a896c84.png'}, 'terminal_session': {'command': None, 'output': None, 'title': None}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 9976, 'timestamp': '2024-06-27 16:22:24'}, {'internal_monologue': 'Browsing the web right now...', 'browser_session': {'url': 'https://stackoverflow.com/questions/14964035/how-to-export-javascript-array-info-to-csv-on-client-side', 'screenshot': 'data/screenshots\b429de1366e9e18a56b8c96546c0f6af23962181.png'}, 'terminal_session': {'command': None, 'output': None, 'title': None}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 15850, 'timestamp': '2024-06-27 16:22:42'}, {'internal_monologue': 'Writing code...', 'browser_session': {'url': 'https://stackoverflow.com/questions/14964035/how-to-export-javascript-array-info-to-csv-on-client-side', 'screenshot': 'data/screenshots\b429de1366e9e18a56b8c96546c0f6af23962181.png'}, 'terminal_session': {'command': 'vim\n // UI design elements for vehicle fitment table management go here\n ---ASSISTANT 1---\nProject Step-by-step Plan:\nProject Name: Vehicle Fitment Table Maker\n\nYour Reply to the Human Prompter: I will outline a structured plan that encompasses UI design, JavaScript functionality, data persistence, and final integration for creating an interactive vehicle fitment table web application.\n\nCurrent Focus: Developing a comprehensive web application with user-friendly features for managing vehicle fitment data.\n\nPlan:\n\n1. Research existing HTML/CSS frameworks to streamline UI development (File: ,\n}\n\n#[derive(Properties, ComponentLink)]\npub struct Row {\n #[prop_or(Vec::new())]\n pub data: Vec,\n}\n\nimpl Component for FitmentTable {\n // Define component properties and lifecycle methods here.\n}\n', 'title': 'Editing \n // UI design elements for vehicle fitment table management go here\n ---ASSISTANT 1---\nProject Step-by-step Plan:\nProject Name: Vehicle Fitment Table Maker\n\nYour Reply to the Human Prompter: I will outline a structured plan that encompasses UI design, JavaScript functionality, data persistence, and final integration for creating an interactive vehicle fitment table web application.\n\nCurrent Focus: Developing a comprehensive web application with user-friendly features for managing vehicle fitment data.\n\nPlan:\n\n1. Research existing HTML/CSS frameworks to streamline UI development (File: ,\n}\n\n#[derive(Properties, ComponentLink)]\npub struct Row {\n #[prop_or(Vec::new())]\n pub data: Vec,\n}\n\nimpl Component for FitmentTable {\n // Define component properties and lifecycle methods here.\n}\n', 'title': 'Editing - [ ] Step 1: Define requirements and scope for the placeholder replacement functionality, including supported data types and input methods.
- [ ] Step 2: Design the architecture of the application, deciding on technologies to be used (e.g., web framework, database).
- [ ] Step 3: Set up a development environment with necessary tools and libraries for building the tool.
- [ ] Step amoji4: Create user interface mockups that allow users to input placeholders and replacement content easily.
- [ ] Step 5: Implement the core functionality of placeholder detection and replacement within text inputs.
- [ ] Step 6: Develop a backend system if necessary, for handling more complex data processing or storage requirements.
- [ ] Step 7: Write unit tests to ensure each component functions correctly in isolation.
- [ ] Step 8: Integrate components into a working application and perform end-to-end testing.
- [ ] Step 9: Collect user feedback on the tool's usability and functionality, making adjustments as needed.
- [ ] Step 10: Prepare documentation for users to understand how to use the tool effectively.
- [ ] Step 11: Deploy the application to a web server or cloud platform for public access.
- [ ] Step 12: Monitor and maintain the application, fixing any issues that arise post-launch.
- OS: [Windows]
- Python 3.10.14
- Node version: v20.15.0
- bun version: 1.1.17
- search engine: Google or Bing
- Model: [phi3, phi3 14b, qwen 2 8b, llama3 8b, mixstral, all local for this one]
- © Githubissues.
- Githubissues is a development platform for aggregating issues.
README.md
', 'output': "# Vehicle Fitment Table Maker Project\n\nThis project aims to create an interactive web application for managing vehicle fitment data with user-friendly features and robust functionality. The development process includes UI design, JavaScript implementation, data persistence, and final integration.\n\n## Step-by-Step Plan\n\n1. Research existing HTML/CSS frameworks (Requirements.txt)\n2. Design the interface for vehicle fitment table management (src/ui_design.rs)\n3. Implement CRUD operations in JavaScript (src/js/fitment_table.rs)\n4. Ensure data persistence with local storage or a database (src/db/persistence.rs)\n5. Test functionalities across browsers and devices (tests/integration_test.rs)\n6. Document the application's features and usage (docs/documentation.md)\n", 'title': 'EditingREADME.md
'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:23:14'}, {'internal_monologue': 'Writing code...', 'browser_session': {'url': 'https://stackoverflow.com/questions/14964035/how-to-export-javascript-array-info-to-csv-on-client-side', 'screenshot': 'data/screenshots\b429de1366e9e18a56b8c96546c0f6af23962181.png'}, 'terminal_session': {'command': 'vimrequirements.txt
', 'output': '# Dependencies for UI design research\n\nrequests==2.25.1\nbeautifulsoup4==4.9.3\n', 'title': 'Editingrequirements.txt
'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:23:16'}, {'internal_monologue': 'Writing code...', 'browser_session': {'url': 'https://stackoverflow.com/questions/14964035/how-to-export-javascript-array-info-to-csv-on-client-side', 'screenshot': 'data/screenshots\b429de1366e9e18a56b8c96546c0f6af23962181.png'}, 'terminal_session': {'command': 'vimsrc/ui_design.rs
', 'output': "// src/ui_design.rs\nuse yew::prelude::;\n\nfn create_fitment_table_component() -> Html {\n html! {\n <>\nresearch_frameworks.md
)\n2. Design the interface, including input fields and buttons for adding/deleting rows (File:ui_design.rs
)\n3. Implement JavaScript functions for row addition, deletion, and CSV export (File:js_functions.rs
)\n4. Ensure data persistence by storing table data in local storage or a database (File:data_persistence.rs
)\n5. Test all functionalities across different browsers and devices (File:test_suite.rs
)\n6. Create detailed documentation on the application's features and usage (File:documentation.md
)\n\nSummary: The plan involves designing an intuitive UI, coding interactive JavaScript functions for CRUD operations, ensuring data persistence, thorough testing, and providing comprehensive documentation to deliver a robust vehicle fitment table web application that meets user requirements efficiently.\n\n", 'title': 'Editingsrc/ui_design.rs
'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:23:18'}, {'internal_monologue': 'Writing code...', 'browser_session': {'url': 'https://stackoverflow.com/questions/14964035/how-to-export-javascript-array-info-to-csv-on-client-side', 'screenshot': 'data/screenshots\b429de1366e9e18a56b8c96546c0f6af23962181.png'}, 'terminal_session': {'command': 'vimresearch_frameworks.md
', 'output': "# Researching HTML/CSS Frameworks\n\nThis document outlines the research process for selecting an appropriate framework or library to streamline UI development for our Vehicle Fitment Table Maker application. The chosen framework should support responsive design, provide a rich set of components, and have good community support.\n\n## Steps:\n\n1. Identify key requirements for the UI (e.g., accessibility, performance).\n2. List potential frameworks that meet these criteria (e.g., React, Vue.js, Bootstrap).\n3. Evaluate each framework based on documentation quality, community support, and compatibility with our project's needs.\n4. Select a framework and document the decision-making process for future reference.\n", 'title': 'Editingresearch_frameworks.md
'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:23:20'}, {'internal_monologue': 'Writing code...', 'browser_session': {'url': 'https://stackoverflow.com/questions/14964035/how-to-export-javascript-array-info-to-csv-on-client-side', 'screenshot': 'data/screenshots\b429de1366e9e18a56b8c96546c0f6af23962181.png'}, 'terminal_session': {'command': 'vimui_design.rs
', 'output': '// src/ui_design.rs\nuse yew::prelude::;\n\npub struct FitmentTable {\n pub rows: Vecui_design.rs
'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:23:22'}, {'internal_monologue': 'Writing code...', 'browser_session': {'url': 'https://stackoverflow.com/questions/14964035/how-to-export-javascript-array-info-to-csv-on-client-side', 'screenshot': 'data/screenshots\b429de1366e9e18a56b8c96546c0f6af23962181.png'}, 'terminal_session': {'command': 'vimjs_functions.rs
', 'output': '// src/js_functions.rs\nuse wasm_bindgen::prelude::;\n\n#[wasm_bindgen]\npub fn add_row(fitment_table: &mut FitmentTable) {\n // Implement row addition logic here.\n}\n\n#[wasm_bindgen]\npub fn delete_row(fitment_table: &mut FitmentTable, index: usize) {\n // Implement row deletion logic here.\n}\n\n#[wasm_bindgen]\npub fn export_csv(fitment_table: &FitmentTable) -> String {\n // Implement CSV export functionality here.\n}\n', 'title': 'Editingjs_functions.rs
'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:23:24'}, {'internal_monologue': 'Writing code...', 'browser_session': {'url': 'https://stackoverflow.com/questions/14964035/how-to-export-javascript-array-info-to-csv-on-client-side', 'screenshot': 'data/screenshots\b429de1366e9e18a56b8c96546c0f6af23962181.png'}, 'terminal_session': {'command': 'vimdata_persistence.rs
', 'output': '// src/db/persistence.rs\nuse wasm_bindgen::JsValue;\n\n#[wasm_bindgen]\npub fn save_to_local_storage(fitment_table: &FitmentTable) {\n // Implement local storage logic here.\n}\n\n#[wasm_bindgen]\npub fn load_from_local_storage() -> JsValue {\n // Implement loading from local storage logic here.\n}\n', 'title': 'Editingdata_persistence.rs
'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:23:26'}, {'internal_monologue': 'Agent has completed the task.', 'browser_session': {'url': 'https://stackoverflow.com/questions/14964035/how-to-export-javascript-array-info-to-csv-on-client-side', 'screenshot': 'data/screenshots\b429de1366e9e18a56b8c96546c0f6af23962181.png'}, 'terminal_session': {'command': 'vimtest_suite.rs
', 'output': '// tests/test_suite.rs\nuse wasm_bindgen_test::;\n\n#[wasm_bindgen_test]\nfn test_add_row() {\n // Implement unit tests for adding rows here.\n}\n\n#[wasm_bindgen_test]\nfn test_delete_row() {\neo', 'title': 'Editingtest_suite.rs
'}, 'step': 0, 'message': None, 'completed': True, 'agent_is_active': True, 'token_usage': 4117, 'timestamp': '2024-06-27 16:23:28'}, {'internal_monologue': 'Running code...', 'browser_session': {'url': None, 'screenshot': None}, 'terminal_session': {'command': 'pip3 install -r requirements.txt', 'output': '', 'title': 'Terminal'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:24:14'}, {'internal_monologue': 'Oh seems like there is some error... :(', 'browser_session': {'url': None, 'screenshot': None}, 'terminal_session': {'command': 'pip3 install -r requirements.txt', 'output': '', 'title': 'Terminal'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 2828, 'timestamp': '2024-06-27 16:24:15'}, {'internal_monologue': 'Running code...', 'browser_session': {'url': None, 'screenshot': None}, 'terminal_session': {'command': 'pip3 install -r requirements.txt', 'output': '', 'title': 'Terminal'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:24:21'}, {'internal_monologue': 'Oh seems like there is some error... :(', 'browser_session': {'url': None, 'screenshot': None}, 'terminal_session': {'command': 'pip3 install -r requirements.txt', 'output': '', 'title': 'Terminal'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 2828, 'timestamp': '2024-06-27 16:24:22'}, {'internal_monologue': 'Running code...', 'browser_session': {'url': None, 'screenshot': None}, 'terminal_session': {'command': 'pip3 install -r requirements.txt', 'output': '', 'title': 'Terminal'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:24:28'}, {'internal_monologue': 'Oh seems like there is some error... :(', 'browser_session': {'url': None, 'screenshot': None}, 'terminal_session': {'command': 'pip3 install -r requirements.txt', 'output': '', 'title': 'Terminal'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 2828, 'timestamp': '2024-06-27 16:24:30'}, {'internal_monologue': 'Running code...', 'browser_session': {'url': None, 'screenshot': None}, 'terminal_session': {'command': 'pip3 install -r requirements.txt', 'output': '', 'title': 'Terminal'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:24:36'}, {'internal_monologue': 'Oh seems like there is some error... :(', 'browser_session': {'url': None, 'screenshot': None}, 'terminal_session': {'command': 'pip3 install -r requirements.txt', 'output': '', 'title': 'Terminal'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 2828, 'timestamp': '2024-06-27 16:24:37'}, {'internal_monologue': 'Running code...', 'browser_session': {'url': None, 'screenshot': None}, 'terminal_session': {'command': 'pip3 install -r requirements.txt', 'output': '', 'title': 'Terminal'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:24:42'}] 24.06.27 16:24:43: root: INFO : SOCKET agent-state MESSAGE: [{'internal_monologue': "I'm starting the work...", 'browser_session': {'url': None, 'screenshot': None}, 'terminal_session': {'command': None, 'output': None, 'title': None}, 'step': 1, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 2031, 'timestamp': '2024-06-27 16:21:35'}, {'internal_monologue': "Alright, let's start by researching some HTML/CSS frameworks to make UI development smoother. I want our interface to be intuitive and user-friendly, so designing it with care is crucial.", 'browser_session': {'url': None, 'screenshot': None}, 'terminal_session': {'command': None, 'output': None, 'title': None}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 752, 'timestamp': '2024-06-27 16:21:46'}, {'internal_monologue': 'Browsing the web right now...', 'browser_session': {'url': 'https://github.com/troxler/awesome-css-frameworks', 'screenshot': 'data/screenshots\6c13c10d6e7b68b7d3fbdba0d40609aab63315f8.png'}, 'terminal_session': {'command': None, 'output': None, 'title': None}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 2186, 'timestamp': '2024-06-27 16:21:58'}, {'internal_monologue': 'Browsing the web right now...', 'browser_session': {'url': 'https://www.section508.gov/content/guide-accessible-web-design-development/', 'screenshot': 'data/screenshots\06c9827a5922e7f472dcfea5a870983f5a896c84.png'}, 'terminal_session': {'command': None, 'output': None, 'title': None}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 9976, 'timestamp': '2024-06-27 16:22:24'}, {'internal_monologue': 'Browsing the web right now...', 'browser_session': {'url': 'https://stackoverflow.com/questions/14964035/how-to-export-javascript-array-info-to-csv-on-client-side', 'screenshot': 'data/screenshots\b429de1366e9e18a56b8c96546c0f6af23962181.png'}, 'terminal_session': {'command': None, 'output': None, 'title': None}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 15850, 'timestamp': '2024-06-27 16:22:42'}, {'internal_monologue': 'Writing code...', 'browser_session': {'url': 'https://stackoverflow.com/questions/14964035/how-to-export-javascript-array-info-to-csv-on-client-side', 'screenshot': 'data/screenshots\b429de1366e9e18a56b8c96546c0f6af23962181.png'}, 'terminal_session': {'command': 'vimREADME.md
', 'output': "# Vehicle Fitment Table Maker Project\n\nThis project aims to create an interactive web application for managing vehicle fitment data with user-friendly features and robust functionality. The development process includes UI design, JavaScript implementation, data persistence, and final integration.\n\n## Step-by-Step Plan\n\n1. Research existing HTML/CSS frameworks (Requirements.txt)\n2. Design the interface for vehicle fitment table management (src/ui_design.rs)\n3. Implement CRUD operations in JavaScript (src/js/fitment_table.rs)\n4. Ensure data persistence with local storage or a database (src/db/persistence.rs)\n5. Test functionalities across browsers and devices (tests/integration_test.rs)\n6. Document the application's features and usage (docs/documentation.md)\n", 'title': 'EditingREADME.md
'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:23:14'}, {'internal_monologue': 'Writing code...', 'browser_session': {'url': 'https://stackoverflow.com/questions/14964035/how-to-export-javascript-array-info-to-csv-on-client-side', 'screenshot': 'data/screenshots\b429de1366e9e18a56b8c96546c0f6af23962181.png'}, 'terminal_session': {'command': 'vimrequirements.txt
', 'output': '# Dependencies for UI design research\n\nrequests==2.25.1\nbeautifulsoup4==4.9.3\n', 'title': 'Editingrequirements.txt
'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:23:16'}, {'internal_monologue': 'Writing code...', 'browser_session': {'url': 'https://stackoverflow.com/questions/14964035/how-to-export-javascript-array-info-to-csv-on-client-side', 'screenshot': 'data/screenshots\b429de1366e9e18a56b8c96546c0f6af23962181.png'}, 'terminal_session': {'command': 'vimsrc/ui_design.rs
', 'output': "// src/ui_design.rs\nuse yew::prelude::;\n\nfn create_fitment_table_component() -> Html {\n html! {\n <>\nresearch_frameworks.md
)\n2. Design the interface, including input fields and buttons for adding/deleting rows (File:ui_design.rs
)\n3. Implement JavaScript functions for row addition, deletion, and CSV export (File:js_functions.rs
)\n4. Ensure data persistence by storing table data in local storage or a database (File:data_persistence.rs
)\n5. Test all functionalities across different browsers and devices (File:test_suite.rs
)\n6. Create detailed documentation on the application's features and usage (File:documentation.md
)\n\nSummary: The plan involves designing an intuitive UI, coding interactive JavaScript functions for CRUD operations, ensuring data persistence, thorough testing, and providing comprehensive documentation to deliver a robust vehicle fitment table web application that meets user requirements efficiently.\n\n", 'title': 'Editingsrc/ui_design.rs
'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:23:18'}, {'internal_monologue': 'Writing code...', 'browser_session': {'url': 'https://stackoverflow.com/questions/14964035/how-to-export-javascript-array-info-to-csv-on-client-side', 'screenshot': 'data/screenshots\b429de1366e9e18a56b8c96546c0f6af23962181.png'}, 'terminal_session': {'command': 'vimresearch_frameworks.md
', 'output': "# Researching HTML/CSS Frameworks\n\nThis document outlines the research process for selecting an appropriate framework or library to streamline UI development for our Vehicle Fitment Table Maker application. The chosen framework should support responsive design, provide a rich set of components, and have good community support.\n\n## Steps:\n\n1. Identify key requirements for the UI (e.g., accessibility, performance).\n2. List potential frameworks that meet these criteria (e.g., React, Vue.js, Bootstrap).\n3. Evaluate each framework based on documentation quality, community support, and compatibility with our project's needs.\n4. Select a framework and document the decision-making process for future reference.\n", 'title': 'Editingresearch_frameworks.md
'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:23:20'}, {'internal_monologue': 'Writing code...', 'browser_session': {'url': 'https://stackoverflow.com/questions/14964035/how-to-export-javascript-array-info-to-csv-on-client-side', 'screenshot': 'data/screenshots\b429de1366e9e18a56b8c96546c0f6af23962181.png'}, 'terminal_session': {'command': 'vimui_design.rs
', 'output': '// src/ui_design.rs\nuse yew::prelude::;\n\npub struct FitmentTable {\n pub rows: Vecui_design.rs
'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:23:22'}, {'internal_monologue': 'Writing code...', 'browser_session': {'url': 'https://stackoverflow.com/questions/14964035/how-to-export-javascript-array-info-to-csv-on-client-side', 'screenshot': 'data/screenshots\b429de1366e9e18a56b8c96546c0f6af23962181.png'}, 'terminal_session': {'command': 'vimjs_functions.rs
', 'output': '// src/js_functions.rs\nuse wasm_bindgen::prelude::;\n\n#[wasm_bindgen]\npub fn add_row(fitment_table: &mut FitmentTable) {\n // Implement row addition logic here.\n}\n\n#[wasm_bindgen]\npub fn delete_row(fitment_table: &mut FitmentTable, index: usize) {\n // Implement row deletion logic here.\n}\n\n#[wasm_bindgen]\npub fn export_csv(fitment_table: &FitmentTable) -> String {\n // Implement CSV export functionality here.\n}\n', 'title': 'Editingjs_functions.rs
'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:23:24'}, {'internal_monologue': 'Writing code...', 'browser_session': {'url': 'https://stackoverflow.com/questions/14964035/how-to-export-javascript-array-info-to-csv-on-client-side', 'screenshot': 'data/screenshots\b429de1366e9e18a56b8c96546c0f6af23962181.png'}, 'terminal_session': {'command': 'vimdata_persistence.rs
', 'output': '// src/db/persistence.rs\nuse wasm_bindgen::JsValue;\n\n#[wasm_bindgen]\npub fn save_to_local_storage(fitment_table: &FitmentTable) {\n // Implement local storage logic here.\n}\n\n#[wasm_bindgen]\npub fn load_from_local_storage() -> JsValue {\n // Implement loading from local storage logic here.\n}\n', 'title': 'Editingdata_persistence.rs
'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:23:26'}, {'internal_monologue': 'Agent has completed the task.', 'browser_session': {'url': 'https://stackoverflow.com/questions/14964035/how-to-export-javascript-array-info-to-csv-on-client-side', 'screenshot': 'data/screenshots\b429de1366e9e18a56b8c96546c0f6af23962181.png'}, 'terminal_session': {'command': 'vimtest_suite.rs
', 'output': '// tests/test_suite.rs\nuse wasm_bindgen_test::;\n\n#[wasm_bindgen_test]\nfn test_add_row() {\n // Implement unit tests for adding rows here.\n}\n\n#[wasm_bindgen_test]\nfn test_delete_row() {\neo', 'title': 'Editingtest_suite.rs
'}, 'step': 0, 'message': None, 'completed': True, 'agent_is_active': True, 'token_usage': 4117, 'timestamp': '2024-06-27 16:23:28'}, {'internal_monologue': 'Running code...', 'browser_session': {'url': None, 'screenshot': None}, 'terminal_session': {'command': 'pip3 install -r requirements.txt', 'output': '', 'title': 'Terminal'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:24:14'}, {'internal_monologue': 'Oh seems like there is some error... :(', 'browser_session': {'url': None, 'screenshot': None}, 'terminal_session': {'command': 'pip3 install -r requirements.txt', 'output': '', 'title': 'Terminal'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 2828, 'timestamp': '2024-06-27 16:24:15'}, {'internal_monologue': 'Running code...', 'browser_session': {'url': None, 'screenshot': None}, 'terminal_session': {'command': 'pip3 install -r requirements.txt', 'output': '', 'title': 'Terminal'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:24:21'}, {'internal_monologue': 'Oh seems like there is some error... :(', 'browser_session': {'url': None, 'screenshot': None}, 'terminal_session': {'command': 'pip3 install -r requirements.txt', 'output': '', 'title': 'Terminal'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 2828, 'timestamp': '2024-06-27 16:24:22'}, {'internal_monologue': 'Running code...', 'browser_session': {'url': None, 'screenshot': None}, 'terminal_session': {'command': 'pip3 install -r requirements.txt', 'output': '', 'title': 'Terminal'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:24:28'}, {'internal_monologue': 'Oh seems like there is some error... :(', 'browser_session': {'url': None, 'screenshot': None}, 'terminal_session': {'command': 'pip3 install -r requirements.txt', 'output': '', 'title': 'Terminal'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 2828, 'timestamp': '2024-06-27 16:24:30'}, {'internal_monologue': 'Running code...', 'browser_session': {'url': None, 'screenshot': None}, 'terminal_session': {'command': 'pip3 install -r requirements.txt', 'output': '', 'title': 'Terminal'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:24:36'}, {'internal_monologue': 'Oh seems like there is some error... :(', 'browser_session': {'url': None, 'screenshot': None}, 'terminal_session': {'command': 'pip3 install -r requirements.txt', 'output': '', 'title': 'Terminal'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 2828, 'timestamp': '2024-06-27 16:24:37'}, {'internal_monologue': 'Running code...', 'browser_session': {'url': None, 'screenshot': None}, 'terminal_session': {'command': 'pip3 install -r requirements.txt', 'output': '', 'title': 'Terminal'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:24:42'}, {'internal_monologue': 'Oh seems like there is some error... :(', 'browser_session': {'url': None, 'screenshot': None}, 'terminal_session': {'command': 'pip3 install -r requirements.txt', 'output': '', 'title': 'Terminal'}, 'step': 0, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:24:43'}] 24.06.27 16:24:44: root: INFO : SOCKET tokens MESSAGE: {'token_usage': 5512} Model: phi3:latest, Enum: OLLAMA 24.06.27 16:24:45: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '0.00'} 24.06.27 16:24:45: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '0.51'} 24.06.27 16:24:46: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '1.01'} 24.06.27 16:24:46: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '1.52'} 24.06.27 16:24:47: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '2.04'} 24.06.27 16:24:47: root: INFO : SOCKET tokens MESSAGE: {'token_usage': 2900} 24.06.27 16:24:47: root: INFO : SOCKET info MESSAGE: {'type': 'error', 'message': 'Failed to parse response as JSON'} Invalid response from the model, I'm trying again... 24.06.27 16:24:47: root: INFO : SOCKET info MESSAGE: {'type': 'warning', 'message': 'Invalid response from the model, trying again...'} Maximum 5 attempts reached. try other models 24.06.27 16:24:49: root: INFO : SOCKET info MESSAGE: {'type': 'error', 'message': 'Maximum attempts reached. model keeps failing.'} 24.06.27 16:28:22: root: INFO : User message: {'message': 'for some reason you only leave placeholders', 'base_model': 'phi3:14b', 'project_name': 'table 2', 'search_engine': 'Google'} 24.06.27 16:28:22: root: INFO : SOCKET info MESSAGE: {'type': 'warning', 'message': "previous agent doesn't completed it's task."} 24.06.27 16:28:22: root: INFO : SOCKET server-message MESSAGE: {'messages': {'from_devika': False, 'message': 'for some reason you only leave placeholders', 'timestamp': '2024-06-27 16:28:22'}} 24.06.27 16:28:22: root: INFO : SOCKET agent-state MESSAGE: [{'internal_monologue': "I'm starting the work...", 'browser_session': {'url': None, 'screenshot': None}, 'terminal_session': {'command': None, 'output': None, 'title': None}, 'step': 1, 'message': None, 'completed': False, 'agent_is_active': True, 'token_usage': 0, 'timestamp': '2024-06-27 16:28:22'}] 24.06.27 16:28:22: root: INFO : SOCKET tokens MESSAGE: {'token_usage': 3566} Model: phi3:14b, Enum: OLLAMA 24.06.27 16:28:22: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '0.00'} 24.06.27 16:28:23: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '0.51'} 24.06.27 16:28:23: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '1.02'} 24.06.27 16:28:24: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '1.52'} 24.06.27 16:28:24: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '2.03'} 24.06.27 16:28:25: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '2.53'} 24.06.27 16:28:25: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '3.04'} 24.06.27 16:28:26: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '3.55'} 24.06.27 16:28:26: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '4.05'} 24.06.27 16:28:27: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '4.56'} 24.06.27 16:28:27: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '5.06'} 24.06.27 16:28:27: root: INFO : SOCKET inference MESSAGE: {'type': 'warning', 'message': 'Inference is taking longer than expected'} 24.06.27 16:28:28: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '5.58'} 24.06.27 16:28:28: root: INFO : SOCKET inference MESSAGE: {'type': 'warning', 'message': 'Inference is taking longer than expected'} 24.06.27 16:28:28: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '6.08'} 24.06.27 16:28:29: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '6.59'} 24.06.27 16:28:29: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '7.10'} 24.06.27 16:28:30: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '7.60'} 24.06.27 16:28:30: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '8.11'} 24.06.27 16:28:31: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '8.63'} 24.06.27 16:28:31: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '9.14'} 24.06.27 16:28:32: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '9.64'} 24.06.27 16:28:32: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '10.14'} 24.06.27 16:28:33: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '10.65'} 24.06.27 16:28:33: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '11.15'} 24.06.27 16:28:34: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '11.66'} 24.06.27 16:28:34: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '12.16'} 24.06.27 16:28:35: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '12.67'} 24.06.27 16:28:35: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '13.17'} 24.06.27 16:28:36: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '13.68'} 24.06.27 16:28:36: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '14.18'} 24.06.27 16:28:37: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '14.69'} 24.06.27 16:28:37: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '15.20'} 24.06.27 16:28:38: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '15.70'} 24.06.27 16:28:38: root: INFO : SOCKET inference MESSAGE: {'type': 'time', 'elapsed_time': '16.20'} 24.06.27 16:28:38: root: INFO : SOCKET tokens MESSAGE: {'token_usage': 3929}plan ::
Project Name: Placeholder Replacement Tool
Current Focus: Developing a tool that automatically replaces placeholders with user-provided content.
Plan:
Summary: The plan outlines the development of a Placeholder Replacement Tool from requirements gathering through deployment. Key considerations include ensuring user-friendly design, robust functionality for various data types, and thorough testing to prevent bugs. Dependencies involve selecting appropriate technologies and tools that align with project scope. Potential challenges may arise in handling complex placeholder patterns or integrating backend systems if required.
Exception in thread Thread-7 ():
Traceback (most recent call last):
File "C:\Users\Deric.conda\envs\devika\lib\threading.py", line 1016, in _bootstrap_inner
self.run()
File "C:\Users\Deric.conda\envs\devika\lib\threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\Deric\devika\devika.py", line 99, in
thread = Thread(target=lambda: agent.execute(message, project_name))
File "C:\Users\Deric\devika\src\agents\agent.py", line 282, in execute
planner_response = self.planner.parse_response(plan)
File "C:\Users\Deric\devika\src\agents\planner\planner.py", line 55, in parse_response
result["plans"][int(current_step)] = line.split(":", 1)[1].strip()
ValueError: invalid literal for int() with base 10: 'amoji4'
https://github.com/stitionai/devika/assets/138364741/d7aa018c-8177-4d13-9fd8-58bd1ed5eea4 https://github.com/stitionai/devika/assets/138364741/b645fe1c-323f-494c-b99c-65e3ed96fe21 https://github.com/stitionai/devika/assets/138364741/f27b2de5-43d7-49ef-a4d7-6d11797da861
Configuration
i want to be able to run local models on this and i want no placeholders i want it to work as expected lol