IDE and Development Issues
This documentation has been deprecated and moved to the GL SDK Gitbook
How do I fix Unable to import 'gllm_generation.response_synthesizer'
error in VSCode IDE?
Unable to import 'gllm_generation.response_synthesizer'
error in VSCode IDE?You need to change the Python interpreter path in your IDE.
Step-by-Step Instructions
Run the setup script first Before configuring your interpreter, ensure you've run the appropriate setup script for your project.
./local-start.sh
Identify the Python interpreter path After running the setup script, look for the log message that shows the Python interpreter path:
Getting python interpreter path for use in IDE...
/path/to/your/virtualenv/bin/python
Copy this path. It will look similar to:
/home/<username>/.cache/pypoetry/virtualenvs/example-ob4i36ef-py3.12/bin/python
Open your project in VSCode You might notice import errors (squiggly lines) when opening Python files before setting up the interpreter:

Open VSCode Command Palette
⌘+Shift+P

Select
Enter interpreter path...
Paste the previously copied path from the console and press enter

Verify the configuration Once set, you should see the selected interpreter displayed in the bottom status bar of VSCode. It should show something like
Python 3.11.x ('.venv')
or similar.

The squiggly lines under import statements should disappear. You can hover over import statements to see that they are correctly resolved.

Common Issues and Troubleshooting
Import errors persist: Try reloading the VSCode window (Command Palette >
Developer: Reload Window
)Path not found: Ensure you've copied the exact path from the console output
Last updated