UNPKG

@langchain/community

Version:
25 lines (24 loc) 952 B
/* eslint-disable no-process-env */ import { test, expect } from "@jest/globals"; import { ChatModelIntegrationTests } from "@langchain/standard-tests"; import { ChatFireworks } from "../fireworks.js"; class ChatFireworksStandardIntegrationTests extends ChatModelIntegrationTests { constructor() { super({ Cls: ChatFireworks, chatModelHasToolCalling: true, chatModelHasStructuredOutput: true, constructorArgs: { model: "accounts/fireworks/models/firefunction-v1", }, }); } async testToolMessageHistoriesListContent() { this.skipTestMessage("testToolMessageHistoriesListContent", "ChatFireworks", "Not implemented."); } } const testClass = new ChatFireworksStandardIntegrationTests(); test("ChatFireworksStandardIntegrationTests", async () => { const testResults = await testClass.runTests(); expect(testResults).toBe(true); });