File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @anthropic-ai/sdk" ,
3
- "version" : " 0.4.1 " ,
3
+ "version" : " 0.4.2 " ,
4
4
"description" : " Library for accessing the Anthropic API" ,
5
5
"repository" : " https://github.com/anthropics/anthropic-sdk-typescript" ,
6
6
"license" : " MIT" ,
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ export type SamplingParameters = {
9
9
top_k ?: number ;
10
10
top_p ?: number ;
11
11
model : string ;
12
+ tags ?: { [ key : string ] : string } ;
12
13
} ;
13
14
14
15
export type OnOpen = ( response : Response ) => void | Promise < void > ;
@@ -17,7 +18,7 @@ export type OnUpdate = (completion: CompletionResponse) => void | Promise<void>;
17
18
export const HUMAN_PROMPT = "\n\nHuman:" ;
18
19
export const AI_PROMPT = "\n\nAssistant:" ;
19
20
20
- const CLIENT_ID = "anthropic-typescript/0.4.1 " ;
21
+ const CLIENT_ID = "anthropic-typescript/0.4.2 " ;
21
22
const DEFAULT_API_URL = "https://api.anthropic.com" ;
22
23
23
24
enum Event {
You can’t perform that action at this time.
0 commit comments