mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
@@ -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(),
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user