I'm trying to setup Smart Codeinsight in Delphi 12.2 but when ever I'm calling it I just got "Not Found" as an answer.
Example:
{//************ Find Bugs ***************
Not Found
}
I've tried both Gemini and Chat GBT
This is my Gemini settings
And chatGBT
Have anyone got this feature working?
I have been playing with Ollama, Gemini and Claude for a week or so now.
My Settings that work for me are as shown below, but remember for Gemini and Claude you will need to get an API key form their respective sites. Please also note that the so called Free API does not seem to work with Claude and informs you that you have insufficient funds.
I am also assuming for Ollama, that you have installed using the default settings in the setup installer, loaded and downloaded your chosen Model and read the appropriate docs for using Ollama. I chose llama3.2:1b for testing purposes, there are lots of other models to experiment with. Please also note that Ollama with run pretty slowly in codeInsight unless you have a beefy GPU with lots of memory and a pretty beefy PC with lots of RAM and fast processor.
I hope that this is of some help to you, I will post again when I have experimented with ChatGPT. Just as an afterthought, I have experienced odd results with Ollama not producing any output when asked to Debug Code or Optimize Code - this seems to relate to the size of the snippet you ask it to work with ... Maybe there is a limit ;)