Skip to content

Python Code Auto‐heal Feature

Eliran Wong edited this page Dec 21, 2023 · 7 revisions

Python Code Auto-heal Feature

LetMeDoIt AI is now equipped with an auto-healing feature for Python code. It is designed to automatically fix broken Python code.

The auto-heal feature enables LetMeDoIt AI to automatically fix broken Python code if it was not executed properly. It is helpful to have auto-correction for code when a task fails to execute.

code_management

Running Python Code Directly

You can run python code directly with LetMeDoIt AI prompt. To enable auto-healing feature, use ``` before and after your code.

To illustrate the difference, see the screenshot below:

running_python_code_directly

Case 1: Running python code directly without an error

Case 2: The code is not running as it is broken

Case 3: The code is not running in the first place, but executed with auto-healing feature.

Customise maximum number of auto-heal attempts

To customise:

  1. Enter a blank '' entry to launch LetMeDoIt AI action menu.

  2. Select "Change maximum consecutive auto-heal

max_auto_heal

Remarks: Enter '0' if you want to disable auto-heal feature

Installation

Installation
Installation on Android
Install a Supported Python Version
Install ffmpeg
Android Support
Install LetMeDoIt AI on Android Termux App Automatic Upgrade Option

Video Demonstration

Video Demo

Basics

Quick Guide
Action Menu
ChatGPT API Key
Use GPT4 Models
Google API Setup
ElevenLabs API Setup
OpenWeatherMap API Setup
Run Local LLM Offline
Token Management
Command Line Interface Options
Command Execution
Chat-only Features
Developer Mode
Save Chart Content Locally
Work with Text Selection
Work with File Selection
System Tray
Custom Key Bindings

Selective Features

Examples
Features
Change Assistant Name
Setup Multiple LetMeDoIt Assistants
Memory Capabilities
Data Visualization
Analyze Files
Analyze Images
Analyze Audio
Google and Outlook Calendars
Python Code Auto‐heal Feature
Integration with AutoGen
Integration with Google AI Tools
Integration with Open Interpreter
Speak to LetMeDoIt AI
LetMeDoIt Speaks
Speak multi‐dialects
Create a map anytime
Modify your images with simple words
Work with Database Files
Create a Team of AI Assistants
Search and Load Chat Records
Search Weather Information
Search Financial Data
Social Media

Plugins

Plugins ‐ Overview
Plugins - How to Write a Custom Plugin
Plugins ‐ Add Aliases
Plugins ‐ Input Suggestions
Plugins ‐ Install Additional Packages
Plugins ‐ Predefined Contexts
Plugins ‐ Transform Text Output
Plugins ‐ Work with LetMeDoIt AI Configurations
Plugins ‐ Function Calling
Plugins ‐ Run Codes with Specific Packages
Plugins ‐ Work with Non‐conversational Model
Plugins ‐ Integrate Text‐to‐speech Feature
Plugins ‐ Integrate Other Shared Utilities

Comparison

Compare with ChatGPT
Compare with Siri and Others

Clone this wiki locally