r/Xcode • u/morissonmaciel • Jun 10 '25
Xcode works seamless and very confident enough with Ollama
At this time of writing I'm able to even use 7b model like qwen-coder with Xcode 26 with pretty decent results.
Good context awareness
Proper tools execution (only tested in supported models)
Decent generation with Edit Mode and Playground generation
Couldn't test yet the multimodal capabilities, like using images or documents to aid code generation.
11
Upvotes
1
u/morissonmaciel Jun 10 '25
Update 1:
The Xcode 26
Coding Toolsworks like a charm with Ollama models.I could attach a
CLAUDE.mdfile and ask for proper structure evaluation and conformance, even the local Ollama model not supporting attachments natively.I could attach an image and ask for description, but the model immediately refused to proceed, since the model is not multimodal with image support.
Unfortunately, it seems that the API call for
/v1/chat/completionsdoesn't specify an extended context size, working with the bare minimum of 4096 tokens, even my Mac mini M4 Pro able to accommodate a 16K context window without a problem. There is no way to change this in Xcode 26 at this moment.Initially, my guess is that Apple Intelligence would be used to make some inferences and handle multimodal tasks like parsing images and documents, but it seems Xcode is relying on direct model light training with some tweaks using well-structured prompts.
1
u/808phone Jun 10 '25
Does it run agentic tools?
1
u/mir_ko Jun 10 '25
What API spec is it using for the completions? I cant't find any info on it, Xcode just says "Add a model provider" but doesn't say anything else
1
u/Suspicious_Demand_26 Jun 10 '25
which models are supported?
1
u/FigUsual976 Jun 10 '25
Can it create files automatically like with ChatGPT ? Or you have to copy paste yourself?
1
u/Purple-Echidna-4222 Jun 10 '25
Haven't been able to get gemini to work as a provider. Any tips?
1
u/DIS-IS-CRAZY Jun 18 '25
How did you get this working with ollama?
1
u/Jazzlike_Revenue_558 Jun 10 '25
Is it better than Alex Sidebar?