MCPcopy
hub / github.com/coder/mux / workspaceTitleGenerator.test.ts

File workspaceTitleGenerator.test.ts

src/node/services/workspaceTitleGenerator.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import * as aiSdk from "ai";
2import { APICallError, NoOutputGeneratedError, RetryError, type LanguageModel } from "ai";
3import { afterEach, describe, expect, mock, spyOn, test } from "bun:test";
4import {

Callers

nothing calls this directly

Calls 10

OkFunction · 0.90
mapNameGenerationErrorFunction · 0.90
mapModelCreationErrorFunction · 0.90
createTitleModelFunction · 0.85
createTitleAIServiceFunction · 0.85
createApiCallErrorFunction · 0.85
resolveMethod · 0.80

Tested by

no test coverage detected