FAQ â
Connection Timeout or No Response from File â
Problem Description: Users using proxies or located in mainland China may encounter connection timeout errors.
Solution:
Check Network Proxy Configuration:
- Use command terminal to test if
openai.com(or otherAPI Base URL) can be pinged.- Command example:
ping openai.com. - Note: Being able to access the website via a browser doesn't necessarily mean the command terminal can, you may need to set the proxy for the terminal separately.
- Command example:
- Set environment variable
HTTPS_PROXY:- Example:
http://127.0.0.1:7890(If using clash proxy, the default port is7890). - For clash users, make sure the
TUNfeature is enabled.
- Example:
- Use command terminal to test if
Perform the Following Operations:
- Confirm the proxy configuration is correct, and restart the proxy tool if necessary.
- Try changing the proxy or check the network connection.
- Use an
API Base URLthat can be accessed properly.
For more details, see GitHub Issue #17.
Exceeding AI Model Context Limit â
Problem Description: The AI model has a character limit for context, exceeding it may cause processing failures.
Solution:
Process Partial Text:
- Most features allow users to select part of the text, then right-click to call the AI function, thus reducing the number of characters.
Process in Batches:
- Split the text into smaller segments and process them separately.
Switch Model:
- Use an AI model that supports a larger context.
Unable to Use Configured Third-Party API Base URL â
Problem Description: After configuring a third-party API Base URL, the AI functionality cannot be used properly.
Solution:
Check the
API Base URL:- Verify that the configured
API Base URLis correct. - The default
API Base URLishttps://api.openai.com/v1. - Try adding or removing
/v1in the URL to ensure correct configuration.
- Verify that the configured
Confirm API Compliance with OpenAI Interface Specification:
- Ask the provider if their API complies with OpenAI's interface specification.
Check if
API Base URLand AI model supportfunction_callfeature:- Some functionalities use the
function_callfeature, which might not be supported by some third-party large language models.
- Some functionalities use the
Command 'aide.xxxx' Not Found â
Problem Description: When using Aide functionality, it prompts Command 'aide.xxxx' not found.
Solution:
Check if your VSCode version is greater than v1.82.0:
- Aide requires VSCode version greater than
v1.82.0.
- Aide requires VSCode version greater than
Check if Aide is installed correctly and is the latest version:
- Open the extension sidebar in VSCode, search for Aide, and ensure the latest version is installed.
If the above methods do not work:
- Try restarting VSCode.
- If the issue persists, try reinstalling Aide.
Code Convert Doesn't Open Language Selection Box, Always Uses Previous Settings â
Problem Description: When using the Code Convert feature for the first time, the language was set to convert from C to C++. On subsequent attempts to convert C files, it defaults to C++. The language selection box does not appear, preventing new conversion settings.
Solution:
- Disable Memory Function: In the current project's
.vscode/settings.json, setaide.autoRememberConvertLanguagePairstofalse. - Clear Existing Convert Mapping Memory: Remove the
aide.convertLanguagePairsconfiguration from.vscode/settings.jsonin the current project. - Ensure Correct Settings: VSCode has both global and project-level
settings.jsonfiles. Memory is saved in the project-level configuration by default. Check the.vscode/settings.jsonfile in the project folder carefully.
For more details, see GitHub Issue #92.
Smart Paste Shows Clipboard Empty When Pasting Images â
Problem Description: When using the Smart Paste feature, it prompts Clipboard is empty.
Solution:
- Open VSCode Settings
- Enable Clipboard Image Reading: Search for and enable
aide.readClipboardImagein the settings. - Other Errors Occur: If other errors appear after enabling, it means your AI model doesn't support reading images, so you can disable it.
No tools_call in message Error â
Problem Description: When using certain features of Aide, the error No tools_call in message is prompted.
Solution:
Check if the AI model supports the
function_callfeature:- Inquire with the AI model provider whether the
function_callfeature is supported. - Choose an AI model that supports the
function_callfeature.
- Inquire with the AI model provider whether the
Switch to an AI model that supports the
function_callfeature:
Consider Supporting Other IDEs â
Problem Description: Will Aide consider supporting other IDEs, such as JetBrains and Visual Studio?
Solution:
Limited Support for Visual Studio: Due to limited resources, Visual Studio may never be supported.
Possibility of JetBrains Support: There is strong community demand for JetBrains support, but this requires someone skilled in Kotlin, as JetBrains plugins are developed in Kotlin. Currently, I lack the necessary skills to implement this. I may consider learning Kotlin and using AI to assist in migrating to JetBrains after Aide's main features are complete.
Community Contributions Welcome: If you have the ability to develop a JetBrains version, contributions are welcome. Please reach out via GitHub if interested.