Skip to content

Commit c28e520

Browse files
committed
fix: make markdown headings unique to pass linting
- Add provider names to duplicate headings (Basic Implementation, Usage Example) - Fixes MD024/no-duplicate-heading markdownlint errors
1 parent 4984f75 commit c28e520

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/llm-adapters.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def to_provider_tool(mcp_tool: Tool) -> ProviderToolType:
6161

6262
The Google Gemini API uses `FunctionDeclaration` objects with a specific schema format.
6363

64-
### Basic Implementation
64+
### Gemini Basic Implementation
6565

6666
```python
6767
"""Adapter for converting MCP tools to Google Gemini format."""
@@ -218,7 +218,7 @@ async def convert_tools_for_gemini():
218218

219219
OpenAI's Chat Completions API uses function definitions with a similar but distinct format.
220220

221-
### Basic Implementation
221+
### OpenAI Basic Implementation
222222

223223
```python
224224
"""Adapter for converting MCP tools to OpenAI format."""
@@ -337,7 +337,7 @@ def convert_to_openai_schema(property_schema: dict[str, Any]) -> dict[str, Any]:
337337
return result
338338
```
339339

340-
### Usage Example
340+
### OpenAI Usage Example
341341

342342
```python
343343
async def convert_tools_for_openai():
@@ -374,7 +374,7 @@ async def convert_tools_for_openai():
374374

375375
Anthropic's Claude API uses a structured format for tools that's similar to MCP but with some differences.
376376

377-
### Basic Implementation
377+
### Claude Basic Implementation
378378

379379
```python
380380
"""Adapter for converting MCP tools to Anthropic Claude format."""
@@ -490,7 +490,7 @@ def convert_to_claude_schema(property_schema: dict[str, Any]) -> dict[str, Any]:
490490
return result
491491
```
492492

493-
### Usage Example
493+
### Claude Usage Example
494494

495495
```python
496496
async def convert_tools_for_claude():

0 commit comments

Comments
 (0)