Spaces:
Running
Running
Update flare-ui/src/app/components/test/test.component.ts
Browse files
flare-ui/src/app/components/test/test.component.ts
CHANGED
@@ -442,7 +442,8 @@ export class TestComponent implements OnInit {
|
|
442 |
}
|
443 |
|
444 |
// 4. Update the version to add an intent that uses our API
|
445 |
-
|
|
|
446 |
caption: version.caption,
|
447 |
general_prompt: 'Test prompt',
|
448 |
llm: version.llm,
|
|
|
442 |
}
|
443 |
|
444 |
// 4. Update the version to add an intent that uses our API
|
445 |
+
// testProjectId is guaranteed to be a number here
|
446 |
+
await this.apiService.updateVersion(testProjectId!, version.id, {
|
447 |
caption: version.caption,
|
448 |
general_prompt: 'Test prompt',
|
449 |
llm: version.llm,
|