ollama/types/model
ParthSareen 89f74a8b05 agents: add MCP server support and ENTRYPOINT command
MCP (Model Context Protocol) support:
- Add MCPRef type for agent MCP server references
- Parse MCP command in Agentfiles (MCP name command [args...])
- Load and manage MCP servers with mcpManager
- Implement agentic loop for multi-turn tool execution
- Add /mcp REPL commands (add, remove, disable, enable)
- Add 'ollama mcp' CLI commands for global config management
- Support both model-bundled and global (~/.ollama/mcp.json) MCPs
- Display MCPs in 'ollama show' output

ENTRYPOINT support:
- Add ENTRYPOINT command to Agentfiles for custom runtimes
- Allow agents without FROM when ENTRYPOINT is specified
- Execute entrypoint as subprocess with stdin/stdout connected
- Support $PROMPT placeholder for prompt insertion control
- Hide Model section in 'ollama show' for entrypoint-only agents
- Pass user prompt as argument to entrypoint command
2025-12-30 15:01:57 -05:00
..
testdata/fuzz/FuzzName types/model: overhaul Name and Digest types (#3924) 2024-04-26 13:08:32 -07:00
capability.go add thinking support to the api and cli (#10584) 2025-05-28 19:38:52 -07:00
config.go agents: add MCP server support and ENTRYPOINT command 2025-12-30 15:01:57 -05:00
name.go agents: add MCP server support and ENTRYPOINT command 2025-12-30 15:01:57 -05:00
name_test.go types/model: remove knowledge of digest (#5500) 2024-07-05 13:42:30 -07:00