pai
    Preparing search index...

    Function testRoute

    • Which model a request would run on now, and why (POST /key/route/test). Nothing is charged and no model is called.

      Parameters

      • apiKey: string
      • opts: { messages?: unknown; model: string; tools?: unknown }
      • OptionalbaseUrl: string

      Returns Promise<RouteTestResult>