Skip to content

Commit

Permalink
feat: update anthropic provider
Browse files Browse the repository at this point in the history
  • Loading branch information
rxliuli committed Oct 24, 2024
1 parent c1d2130 commit 74b0eb2
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/plugin-anthropic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"novachat",
"novachat-plugin"
],
"version": "0.1.0",
"version": "0.1.1",
"license": "MIT",
"type": "module",
"files": [
Expand Down
1 change: 1 addition & 0 deletions packages/plugin-anthropic/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ export async function activate(context: novachat.PluginContext) {
await novachat.model.registerProvider({
name: 'Anthropic',
models: [
{ id: 'claude-3-5-sonnet-20241022', name: 'Claude 3.5 Sonnet v2' },
{ id: 'claude-3-5-sonnet-20240620', name: 'Claude 3.5 Sonnet' },
{ id: 'claude-3-opus-20240229', name: 'Claude 3 Opus' },
{ id: 'claude-3-sonnet-20240229', name: 'Claude 3 Sonnet' },
Expand Down
3 changes: 2 additions & 1 deletion packages/plugin-anthropic/src/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"anthropic.apiKey": {
"type": "string",
"description": "Anthropic API Key",
"default": ""
"default": "",
"format": "password"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-vertex-anthropic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"novachat",
"novachat-plugin"
],
"version": "0.2.0",
"version": "0.2.1",
"license": "MIT",
"type": "module",
"files": [
Expand Down
1 change: 1 addition & 0 deletions packages/plugin-vertex-anthropic/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ export async function activate(context: novachat.PluginContext) {
await novachat.model.registerProvider({
name: 'VertexAnthropic',
models: [
{ id: 'claude-3-5-sonnet-v2@20241022', name: 'Claude 3.5 Sonnet v2' },
{ id: 'claude-3-5-sonnet@20240620', name: 'Claude 3.5 Sonnet' },
{ id: 'claude-3-haiku@20240307', name: 'Claude 3 Haiku' },
{ id: 'claude-3-opus@20240229', name: 'Claude 3 Opus' },
Expand Down

0 comments on commit 74b0eb2

Please sign in to comment.