Skip to content

Commit b1795ac

Browse files
haha1903Hai Chang
and
Hai Chang
authored
Fix model mapping bug (#11)
Co-authored-by: Hai Chang <haichang@microsoft.com>
1 parent d4b3109 commit b1795ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export class AppService {
4646

4747
private getDeploymentId(mapping: string, model: string): string {
4848
this.logger.debug(`mapping: ${mapping}, model: ${model}`);
49-
if (mapping.includes(',')) {
49+
if (mapping.includes('|')) {
5050
let defaultDeploymentId = '';
5151
const modelMapping = mapping.split(',').reduce((acc: Record<string, string>, pair: string) => {
5252
const [key, value] = pair.split('|');

0 commit comments

Comments
 (0)