MCPcopy
hub / github.com/andrewyng/aisuite / get_supported_providers

Method get_supported_providers

aisuite/provider.py:50–53  ·  view source on GitHub ↗

List all supported provider names based on files present in the providers directory.

(cls)

Source from the content-addressed store, hash-verified

48 @classmethod
49 @functools.cache
50 def get_supported_providers(cls):
51 """List all supported provider names based on files present in the providers directory."""
52 provider_files = Path(cls.PROVIDERS_DIR).glob("*_provider.py")
53 return {file.stem.replace("_provider", "") for file in provider_files}

Callers 2

createMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected