Skip to content

Commit

Permalink
Merge pull request #11 from copilot-extensions/sgoedecke/update-recom…
Browse files Browse the repository at this point in the history
…mend-model-action-with-new-model-shape

Update recommend action with new model v2 shape
  • Loading branch information
sgoedecke committed Sep 16, 2024
2 parents 601cc27 + 5fd650c commit 41dcf34
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/functions/recommend-model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,11 @@ export class recommendModel extends Tool {
systemMessage.push(
[
`\t- Model Name: ${model.name}`,
`\t\tModel Version: ${model.model_version}`,
`\t\tModel Version: ${model.version}`,
`\t\tPublisher: ${model.publisher}`,
`\t\tModel Family: ${model.model_family}`,
`\t\tModel Registry: ${model.model_registry}`,
`\t\tModel Registry: ${model.registryName}`,
`\t\tLicense: ${model.license}`,
`\t\tTask: ${model.task}`,
`\t\tTask: ${model.inferenceTasks.join(", ")}`,
`\t\tSummary: ${model.summary}`,
].join("\n")
);
Expand Down

0 comments on commit 41dcf34

Please sign in to comment.