Skip to content
This repository was archived by the owner on Mar 23, 2026. It is now read-only.
This repository was archived by the owner on Mar 23, 2026. It is now read-only.

Agent Mode for 3rd party Model Providers #7832

Description

The new Agent Mode is great. The ability to add custom Model Providers is great too.
A huge drawback is, that Agent Mode is not supported when using Ollama or other providers. Adding Agent Mode support for third party models would further improve the experience for the users:

  • Local inference engines such as Ollama, llama.cpp server, vLLM etc. all support tool calling, if the model loaded supports it. LM Studio even shows which model supports Tool Calling with a small icon in the model list.
  • Therefore I guess they either maintain this information for popular models manually, or more likely they detect tool calling support by parsing the gguf file format - not sure.
  • Ollama itself through the /api/show/ endpoint shows model information, including a capabilities list. Not sure if tool calling is exposed as a capability there.

TLDR: Allow the user to use Agent Mode even for third party Model Provider like Ollama.
If the loaded model doesn't support tool calling an error can be surfaced. No need for VS Code to check for tool calling capability.

Metadata

Metadata

Labels

chat-agentIssue with the Agent mode in Chatfeature-requestRequest for new features or functionalitymodel-byok

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions