Skip to content

Commit ec0707c

Browse files
authored
Fix Anthropic model names (#7506)
1 parent cd24721 commit ec0707c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/positron-assistant/src/anthropic.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export class AnthropicLanguageModel implements positron.ai.LanguageModelChatProv
3838
};
3939

4040
constructor(private readonly _config: ModelConfig) {
41-
this.name = AnthropicLanguageModel.source.defaults.name;
41+
this.name = _config.name;
4242
this.provider = _config.provider;
4343
this.identifier = _config.id;
4444
this._client = new Anthropic({

0 commit comments

Comments
 (0)