A Pascal user has written a package for Lazarus that I'd like to introduce here. It's already working quite well.
Maybe some of you have the interest and time to help me perfect the project. The project can be found on GitHub:
https://github.com/lauzge/lazarus-ki-integration
Dockable Chat Window: Integrates seamlessly into the Lazarus layout.
Ollama Integration: Uses local LLMs (e.g. Llama3 or CodeLlama).
Code Extraction: Detects Pascal code in the AI response and allows adoption with a single click.
Context Support: Selected code in the editor can be sent directly to the chat.
Supported Languages: German (Native), English