Sha256: 0b4e3cc794558e3a605c3e0620e2f70ba91df7a2261fab727c320c91d86393b4

Contents?: true

Size: 522 Bytes

Versions: 7

Compression:

Stored size: 522 Bytes

Contents

module OpenRouter
  class Client
    include OpenRouter::HTTP

    def initialize: () { (OpenRouter::Configuration) -> void } -> void

    def complete: (
      messages: Array[Hash[Symbol, String]],
      ?model: String,
      ?providers: Array[String],
      ?transforms: Array[String],
      ?extras: Hash[Symbol, untyped],
      ?stream: Proc
    ) -> Hash[String, untyped]

    def models: () -> Array[Hash[String, untyped]]

    def query_generation_stats: (generation_id: String) -> Hash[String, untyped]
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
open_router-0.3.3 sig/open_router.rbs
open_router-0.3.2 sig/open_router.rbs
open_router-0.3.1 sig/open_router.rbs
open_router-0.3.0 sig/open_router.rbs
open_router-0.2.2 sig/open_router.rbs
open_router-0.2.1 sig/open_router.rbs
open_router-0.1.0 sig/open_router.rbs