My frustration with using these models for programming in the past has largely been around their tendency to hallucinate APIs that simply don't exist. The Gemini 2.5 models, both pro and flash, seem significantly less susceptible to this than any other model I've tried. There are still significant limitations, no amount of prompting will get current models to approach abstraction and architecture the way a person doe…
This problem have been solved by LSP (language server protocol), all we need is a small server behind MCP that can communicate LSP information back to the LLM and get the LLM to use by adding to the prompt something like: "check your API usage with the LSP" The unfortunate state of open source funding makes buildings such simple tool a loosing adventure unfortunately.
Gemini 2.5 Pro Preview
281–290 of 728 posts
Re: Gemini 2.5 Pro Preview
#282Earlier quoted context omitted.
I have the same issue plus unnecessary refactorings (that break functionality). it doesn't matter if I write a whole paragraph in the chat or the prompt explaining I don't want it to change anything else apart from what is required to fulfill my very specific request. It will just go rogue and massacre the entirety of the file.
This has also been my biggest gripe with Gemini 2.5 Pro. While it is fantastic at one-shotting major new features, when wanting to make smaller iterative changes, it always does big refactors at the same time. I haven't found a way to change that behavior through changes in my prompts. Claude 3.7 Sonnet is much more restrained and does smaller changes.
Re: Gemini 2.5 Pro Preview
#283Earlier quoted context omitted.
It's already much improved on the early days. But I wonder when we'll be happy? Do we expect colleagues friends and family to be 100% laser-accurate 100% of the time? I'd wager we don't. Should we expect that from an artificial intelligence too?
I expect my calculator to be 100% accurate 100% of the time. I have slightly more tolerance for other software having defects, but not much more.
Re: Gemini 2.5 Pro Preview
#284The "video to learning app" feature is a cool concept (see it in AI Studio). I just passed in two separate Stanford lectures to see if it could come up with an interesting interactive app. The apps it generated weren't too useful, but I can see with more focus and development, it'd be a game changer for education.
Web chat interfaces are great, but copy/paste gets old fast.
Re: Gemini 2.5 Pro Preview
#285My frustration with using these models for programming in the past has largely been around their tendency to hallucinate APIs that simply don't exist. The Gemini 2.5 models, both pro and flash, seem significantly less susceptible to this than any other model I've tried. There are still significant limitations, no amount of prompting will get current models to approach abstraction and architecture the way a person doe…
Re: Gemini 2.5 Pro Preview
#286Earlier quoted context omitted.
And a $2.99 drugstore slim wallet calculator with solar power gets it right 100% of the time while billion dollar LLMs can still get arithmetic wrong on occasion.
My hammer can't do any arithmetic at all, why does anyone even use them?
Re: Gemini 2.5 Pro Preview
#287Earlier quoted context omitted.
If colleagues lie with the certainty that LLMs do, they would get fired for incompetence.
I wish that were true, but I’ve found that certain types of employees do confidently lie as much as llms, especially when answering “do you understand” type questions
Re: Gemini 2.5 Pro Preview
#288I have my issues with the code Gemini Pro in AI Studio generates without customized "System Instructions". It turns a well readable code-snippet of 5 lines into a 30 line snippet full of comments and mostly unnecessary error handling. Code which becomes harder to reason about. But for sysadmin tasks, like dealing with ZFS and LVM, it is absolutely incredible.
Re: Gemini 2.5 Pro Preview
#289Is it possible to sue this with Cursor? If so what is the name of the model? gemini-2.5-pro-preview ? edit> Its gemini-2.5-pro-preview-05-06 edit>Cursor syas it doesnt have "good support" et, but im not sure if this is a defualt message when it doesnt recognise a model? is this a big deal? should I wait until its officially supported by cursor? Just trying to save time here for everyone - anyone know the answer?
Re: Gemini 2.5 Pro Preview
#290My frustration with using these models for programming in the past has largely been around their tendency to hallucinate APIs that simply don't exist. The Gemini 2.5 models, both pro and flash, seem significantly less susceptible to this than any other model I've tried. There are still significant limitations, no amount of prompting will get current models to approach abstraction and architecture the way a person doe…
I recently needed to recommend some IAM permissions for an assistant on a hobby project; not complete access but just enough to do what was required. Was rusty with the console and didn't have direct access to it at the time, but figured it was a solid use case for LLMs since AWS is so ubiquitous and well-documented. I actually queried 4o, 3.7 Sonnet, and Gemini 2.5 for recommendations, stripped the list of duplicate…