We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d4d50f commit 22332e5Copy full SHA for 22332e5
1 file changed
plugins/anthropic/src/index.ts
@@ -108,8 +108,12 @@ export const anthropic = (options?: PluginOptions) => {
108
},
109
resolve: (actionType: ActionType, name: string) => {
110
if (actionType === 'model') {
111
- return cachedActions.find((action) => action.name === name);
+ return claudeModel(
112
+ name,
113
+ client
114
+ );
115
}
116
+ return undefined;
117
118
list: () => {
119
return cachedActions.map((action) => ({
0 commit comments