release 1.0.0: cost control, 41 tools, 29 skills, custom commands, auto-load
This commit is contained in:
+2
-5
@@ -4,12 +4,9 @@ import React from 'react';
|
||||
import { MockLanguageModelV4, simulateReadableStream } from 'ai/test';
|
||||
import { Session } from '../src/session';
|
||||
import { App, createApprovalBridge, type AppHooks } from '../src/ui/App';
|
||||
import { testHooks } from './helpers';
|
||||
import { testHooks, usageOf } from './helpers';
|
||||
|
||||
const usage = {
|
||||
inputTokens: { total: 1000, noCache: 1000, cacheRead: 0, cacheWrite: 0 },
|
||||
outputTokens: { total: 500 },
|
||||
} as any;
|
||||
const usage = usageOf(1000, 500);
|
||||
|
||||
const model = new MockLanguageModelV4({
|
||||
doStream: async () =>
|
||||
|
||||
Reference in New Issue
Block a user