Skip to content

Commit

Permalink
js[minor]: Expose client config interface (#932)
Browse files Browse the repository at this point in the history
  • Loading branch information
bracesproul authored Aug 22, 2024
2 parents 90d7705 + 5f89d43 commit f792a58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ import {
parsePromptIdentifier,
} from "./utils/prompts.js";

interface ClientConfig {
export interface ClientConfig {
apiUrl?: string;
apiKey?: string;
callerOptions?: AsyncCallerParams;
Expand Down
2 changes: 1 addition & 1 deletion js/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export { Client } from "./client.js";
export { Client, type ClientConfig } from "./client.js";

export type {
Dataset,
Expand Down

0 comments on commit f792a58

Please sign in to comment.