Skip to content

Commit e1ce577

Browse files
authored
feat(js/testing): mockModel + echoModel for genkit/testing (#5475)
1 parent 7f2d574 commit e1ce577

15 files changed

Lines changed: 2404 additions & 32 deletions

File tree

js/ai/src/testing/index.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,16 @@
1414
* limitations under the License.
1515
*/
1616

17+
export {
18+
echoModel,
19+
mockModel,
20+
type EchoModelOptions,
21+
type MockChunk,
22+
type MockContext,
23+
type MockModel,
24+
type MockModelOptions,
25+
type MockRespond,
26+
type MockRespondFn,
27+
type MockResponse,
28+
} from './mock-model.js';
1729
export { testModels } from './model-tester.js';

0 commit comments

Comments
 (0)