Skip to content

Commit

Permalink
Merge pull request #89 from Portkey-AI/hotfix/initializer
Browse files Browse the repository at this point in the history
fix: initializer for apiKey and baseURL
  • Loading branch information
VisargD authored Jul 10, 2024
2 parents 5773f89 + 098983d commit 9d57fc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import { MISSING_API_KEY_ERROR_MESSAGE, PORTKEY_BASE_URL } from "./constants";
import { castToError, readEnv } from "./utils";

export class Portkey extends ApiClient {
override apiKey: string | null;
override baseURL: string;
declare apiKey: string | null;
declare baseURL: string;
virtualKey: string | null;
config: Record<string, unknown> | string | null | undefined;
provider: string | null | undefined;
Expand Down

0 comments on commit 9d57fc5

Please sign in to comment.