Skip to content

Commit e49dcdc

Browse files
committed
Fixed supervisor skills. Enhanced re-routing. Fixed custom skills loading.
1 parent e08b5cc commit e49dcdc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

documentdb_mcp/utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,17 @@
66
import pickle
77
import yaml
88
from pathlib import Path
9-
from typing import Any, Union, List, Optional
9+
from typing import Union, List, Any, Optional
1010
import json
1111
from importlib.resources import files, as_file
1212
from pydantic_ai.models.openai import OpenAIChatModel
13-
from pydantic_ai.models.anthropic import AnthropicModel
1413
from pydantic_ai.models.google import GoogleModel
1514
from pydantic_ai.models.huggingface import HuggingFaceModel
1615
from pydantic_ai.models.groq import GroqModel
1716
from pydantic_ai.models.mistral import MistralModel
1817
from fasta2a import Skill
1918

2019
try:
21-
2220
from openai import AsyncOpenAI
2321
from pydantic_ai.providers.openai import OpenAIProvider
2422
except ImportError:
@@ -40,9 +38,11 @@
4038
MistralProvider = None
4139

4240
try:
41+
from pydantic_ai.models.anthropic import AnthropicModel
4342
from anthropic import AsyncAnthropic
4443
from pydantic_ai.providers.anthropic import AnthropicProvider
4544
except ImportError:
45+
AnthropicModel = None
4646
AsyncAnthropic = None
4747
AnthropicProvider = None
4848

0 commit comments

Comments
 (0)