(req: NextRequest)
| 29 | } |
| 30 | |
| 31 | export async function POST(req: NextRequest) { |
| 32 | return postChatCompletions({ |
| 33 | req, |
| 34 | getUserInfoFromApiKey, |
| 35 | logger, |
| 36 | loggerWithContext, |
| 37 | trackEvent, |
| 38 | getUserUsageData, |
| 39 | getAgentRunFromId, |
| 40 | fetch, |
| 41 | insertMessageBigquery, |
| 42 | insertChatCompletionTraceBigquery, |
| 43 | ensureSubscriberBlockGrant, |
| 44 | getUserPreferences, |
| 45 | }) |
| 46 | } |
nothing calls this directly
no test coverage detected