Skip to content

Conversation

@continue
Copy link
Contributor

@continue continue bot commented Dec 21, 2025

Summary

This PR adds documentation for the message normalization feature introduced in PR #9253.

Note: This is a documentation-only PR. It does not include any code changes from #9253 - those remain in that PR.

Changes

Troubleshooting Guide (docs/troubleshooting.mdx)

  • Added new section "Ollama model errors with MCP tool calling"
  • Documented Mistral/Ministral "Unexpected role 'system' after role 'tool'" error
  • Documented Gemma "Invalid 'tool_calls': unknown variant 'index'" error
  • Used Accordion components for better UX

Ollama Guide (docs/guides/ollama-guide.mdx)

  • Added info callout about automatic MCP tool calling compatibility
  • Added troubleshooting subsection for MCP tool calling errors
  • Added new section "Using Ollama with MCP Tools" with best practices
  • Updated recommended models list to include DeepSeek and Qwen for MCP support

Documentation Approach

  • Scoped to user-facing impact: Focused on what users need to know, not implementation details
  • Mintlify components: Used Accordion and Info components for better readability
  • Cross-references: Added links between troubleshooting and guide sections
  • Documentation-only: No code changes, only markdown files updated

Related

Replaces


This agent session was co-authored by nate and Continue.


Summary by cubic

Adds troubleshooting and guidance for Ollama MCP tool calling, documenting automatic message normalization that fixes common Mistral (“Unexpected role 'system' after role 'tool'”) and Gemma (“unknown variant 'index'”) errors. Updates the Ollama guide with MCP compatibility notes, recommended models (DeepSeek, Qwen, Llama 3.1, Mistral), and links to troubleshooting; documentation-only, related to #9253 and addresses #9249.

Written for commit 0803219. Summary will update automatically on new commits.

- Add troubleshooting section for Mistral/Gemma MCP tool calling errors
- Document automatic message normalization in Ollama guide
- Add guidance on choosing compatible models for MCP integration
- Include links to troubleshooting from Ollama guide

Related to PR #9253

Generated with Continue (https://continue.dev)

Co-Authored-By: Continue <[email protected]>
Co-authored-by: nate <[email protected]>
@continue continue bot requested a review from a team as a code owner December 21, 2025 21:01
@continue continue bot requested review from Patrick-Erichsen and removed request for a team December 21, 2025 21:01
@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Dec 21, 2025
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M This PR changes 30-99 lines, ignoring generated files.

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant