feat: use date fixed model name (#8621)

fix CLOUD-81
This commit is contained in:
darkskygit
2024-10-29 07:31:23 +00:00
parent 835fdc33c0
commit efee4dfd66
8 changed files with 65 additions and 44 deletions

View File

@@ -669,7 +669,7 @@ test('should be able to get provider', async t => {
{
const p = await provider.getProviderByCapability(
CopilotCapability.ImageToText,
'gpt-4o'
'gpt-4o-2024-08-06'
);
t.is(
p?.type.toString(),

View File

@@ -43,6 +43,7 @@ export class MockCopilotTestProvider
override readonly availableModels = [
'test',
'gpt-4o',
'gpt-4o-2024-08-06',
'fast-sdxl/image-to-image',
'lcm-sd15-i2i',
'clarity-upscaler',