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
TUN
feature 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 URL
that 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 URL
is correct. - The default
API Base URL
ishttps://api.openai.com/v1
. - Try adding or removing
/v1
in 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 URL
and AI model supportfunction_call
feature:- Some functionalities use the
function_call
feature, 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.