@encorp.ai/llm-open-proxy - v0.2.2
    Preparing search index...

      @encorp.ai/llm-open-proxy - v0.2.2

      Classes

      UpstreamError

      Interfaces

      TransformCtx
      TransformResult
      ConvertResult
      AnthropicRequest
      RequestTranslationResult
      AnthropicSendOptions
      AnthropicSendResult
      AnthropicStreamResult
      SendOptions
      SendResult
      StreamResult
      ChatToolCall
      ChatMessage
      ChatToolFunction
      ChatTool
      ResponseFormatJsonSchema
      CanonicalChatRequest
      CanonicalChatResponse
      TokenUsage

      Type Aliases

      MapAction
      ProviderParamConfig
      ProviderName
      Role
      ContentPart
      ChatToolChoice
      ResponseFormat

      Variables

      ANTHROPIC_DEFAULT_MAX_TOKENS
      ANTHROPIC_THINKING_BUDGET
      anthropicChatConfig
      deepseekChatConfig
      googleChatConfig
      OPENAI_API_URL
      openaiChatConfig
      GOOGLE_OPENAI_COMPAT_URL
      XAI_API_URL
      DEEPSEEK_API_URL
      KIMI_API_URL
      PERPLEXITY_API_URL
      perplexityChatConfig

      Functions

      transformChatRequest
      resolveMaxCompletionTokens
      stripReasoningContent
      extractSystemMessages
      clampTemperature
      modelMatches
      convertChatRequest
      toAnthropicRequest
      toCanonicalResponse
      sendAnthropicRequest
      streamAnthropicRequest
      getProviderConfig
      sendChatRequest
      streamChatRequest
      isRetryableUpstreamStatus

      References

      _AnthropicRequestInternal → AnthropicRequest