Skip to content

Commit 41dcf34

Browse files
authoredSep 16, 2024
Merge pull request #11 from copilot-extensions/sgoedecke/update-recommend-model-action-with-new-model-shape
Update recommend action with new model v2 shape
2 parents 601cc27 + 5fd650c commit 41dcf34

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed
 

‎src/functions/recommend-model.ts

+3-4
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,11 @@ export class recommendModel extends Tool {
3232
systemMessage.push(
3333
[
3434
`\t- Model Name: ${model.name}`,
35-
`\t\tModel Version: ${model.model_version}`,
35+
`\t\tModel Version: ${model.version}`,
3636
`\t\tPublisher: ${model.publisher}`,
37-
`\t\tModel Family: ${model.model_family}`,
38-
`\t\tModel Registry: ${model.model_registry}`,
37+
`\t\tModel Registry: ${model.registryName}`,
3938
`\t\tLicense: ${model.license}`,
40-
`\t\tTask: ${model.task}`,
39+
`\t\tTask: ${model.inferenceTasks.join(", ")}`,
4140
`\t\tSummary: ${model.summary}`,
4241
].join("\n")
4342
);

0 commit comments

Comments
 (0)
Failed to load comments.