MCPcopy
hub / github.com/msgbyte/tianji / ai.ts

File ai.ts

src/server/trpc/routers/ai.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { z } from 'zod';
2import { OpenApiMetaInfo, router, workspaceProcedure } from '../trpc.js';
3import {
4 calcOpenAIToken,

Callers

nothing calls this directly

Calls 11

checkCreditFunction · 0.85
getSurveyPromptFunction · 0.85
calcOpenAITokenFunction · 0.85
getOpenAIClientFunction · 0.85
costCreditFunction · 0.85
createAuditLogFunction · 0.85
buildAIOpenapiFunction · 0.85
inputMethod · 0.80
outputMethod · 0.80

Tested by

no test coverage detected