mirror of
https://github.com/HeyPuter/puter.git
synced 2026-10-20 02:22:19 +00:00
Label provider catalog fixtures as test data
This commit is contained in:
1 parent
ddafc2d04c
commit
124f95a5f9
5 files changed
+3
-3
No files matched your search
@@ -48,8 +48,8 @@ import { setupTestServer } from '../../../../testUtil.js';
|
||||
import { withTestActor } from '../../../integrationTestUtil.js';
|
||||
import { AIChatStream } from '../../utils/Streaming.js';
|
||||
import { mapAlibabaCatalogModel, type AlibabaApiModel } from './catalog.js';
|
||||
import page1 from './fixtures/page1.json';
|
||||
import page2 from './fixtures/page2.json';
|
||||
import page1 from './fixtures/page1.test.json';
|
||||
import page2 from './fixtures/page2.test.json';
|
||||
import { CATALOG_TTL_MS } from '../../utils/cachedRemoteCatalog.js';
|
||||
import { ALIBABA_MODELS } from './models.js';
|
||||
import { AlibabaProvider } from './AlibabaProvider.js';
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -21,7 +21,7 @@ import { describe, expect, it } from 'vitest';
|
||||
import type { IChatModel } from '../../types.js';
|
||||
import { buildCostsOverride, costsForRequest } from '../../utils/pricing.js';
|
||||
import { mapOpenRouterPricing } from './pricing.js';
|
||||
import fixture from './fixtures/pricing.json';
|
||||
import fixture from './fixtures/pricing.test.json';
|
||||
|
||||
const catalogModel = (): IChatModel => {
|
||||
const pricing = mapOpenRouterPricing(fixture);
|
||||
|
||||
Reference in new issue
Block a user