added alternate model naming convention to model conversion map
This commit is contained in:
parent
a6083fa251
commit
ea10104684
1 changed files with 2 additions and 0 deletions
|
|
@ -12,7 +12,9 @@ class NCompass extends OpenAI {
|
|||
|
||||
private static modelConversion: { [key: string]: string } = {
|
||||
"qwen2.5-coder-7b": "Qwen/Qwen2.5-Coder-7B-Instruct",
|
||||
"qwen2.5-coder:7b": "Qwen/Qwen2.5-Coder-7B-Instruct",
|
||||
"qwen2.5-coder-32b": "Qwen/Qwen2.5-Coder-32B-Instruct",
|
||||
"qwen2.5-coder:32b": "Qwen/Qwen2.5-Coder-32B-Instruct",
|
||||
};
|
||||
protected _convertModelName(model: string): string {
|
||||
return NCompass.modelConversion[model] ?? model;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue