(modelId = "cleanup-model")
| 36 | import { shellQuote } from "@/common/utils/shell"; |
| 37 | |
| 38 | function createTestLanguageModel(modelId = "cleanup-model"): LanguageModel { |
| 39 | return { |
| 40 | specificationVersion: "v3", |
| 41 | provider: "test", |
| 42 | modelId, |
| 43 | supportedUrls: {}, |
| 44 | doGenerate: () => Promise.reject(new Error("doGenerate is unused in StreamManager tests")), |
| 45 | doStream: () => Promise.reject(new Error("doStream is unused in StreamManager tests")), |
| 46 | }; |
| 47 | } |
| 48 | |
| 49 | // Skip integration tests if TEST_INTEGRATION is not set |
| 50 | const describeIntegration = shouldRunIntegrationTests() ? describe : describe.skip; |
no outgoing calls
no test coverage detected