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
This pull request updates the TypeScript SDK to version 0.6.1, introducing new features such as tool usage for LLMs and image generation configurations, and improving documentation generation. It also includes several important fixes, such as correctly serializing and URI-encoding array query parameters across multiple API clients, which enhances correctness and security. The Zod schemas have been significantly updated to reflect the new features and improve validation.
Copy file name to clipboardExpand all lines: clients/typescript/src/index.ts
+8-12Lines changed: 8 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -61,12 +61,12 @@ class JamAI extends Base {
61
61
this.file=newFiles(sharedConfig);
62
62
}
63
63
64
-
publicoverridesetApiKey(token: string){
65
-
super.setApiKey(token)
64
+
publicoverridesetApiKey(token: string){
65
+
super.setApiKey(token);
66
66
}
67
67
68
-
publicoverridesetProjId(projectId: string){
69
-
super.setProjId(projectId)
68
+
publicoverridesetProjId(projectId: string){
69
+
super.setProjId(projectId);
70
70
}
71
71
72
72
/**
@@ -94,27 +94,23 @@ class JamAI extends Base {
94
94
* @property {Number} [socketActiveTTL=null] - Sets the time to live for active sockets, even if in use. If not set, sockets are released only when free. Default is null.
0 commit comments