You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The default server can also be overridden globally by passing a URL to the `serverURL` optional parameter when initializing the SDK client instance. For example:
// fetcher takes a function that has the same signature as native `fetch`.
@@ -413,7 +413,7 @@ This SDK supports the following security scheme globally:
413
413
414
414
To authenticate with the API the `httpBearer` parameter must be set when initializing the SDK client instance. For example:
415
415
```typescript
416
-
import { LivepeerAI } from"livepeer-ai";
416
+
import { LivepeerAI } from"@livepeer/ai";
417
417
418
418
const livepeerAI =newLivepeerAI({
419
419
httpBearer: "<YOUR_BEARER_TOKEN_HERE>",
@@ -444,7 +444,7 @@ You can pass a logger that matches `console`'s interface as an SDK option.
444
444
> Beware that debug logging will reveal secrets, like API tokens in headers, in log messages printed to a console or files. It's recommended to use this feature only during local development and not in production.
0 commit comments