mcp-use TypeScript API
    Preparing search index...

    Function parseLLMString

    • Parses an LLM identifier in "provider/model" format.

      Parameters

      • llmString: string

        Provider and model separated by one slash.

      Returns ParsedLLMString

      The normalized provider and model.

      Error if the format is invalid or the provider is unsupported.