seroxdesigncleand0badd58 months agoHistory
14 lines · 514 B · TypeScript
RawDownload
import type { Hono } from "hono";import type { AppContext } from "../../types/context";import { registerOpenAIRoutes } from "./openai-routes";import { registerTokenizationRoutes } from "./tokenization-routes"; /** * Register all proxy module routes (OpenAI proxy, tokenization). * @param app - Hono app. * @param context - App context. */export const registerAllProxyRoutes = (app: Hono, context: AppContext): void => {  registerOpenAIRoutes(app, context);  registerTokenizationRoutes(app, context);};