File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -754,7 +754,7 @@ Important:
754754 private configureEnvironment ( ) : void {
755755 const { apiKey, apiUrl, projectId } = this . config ;
756756 const product =
757- this . config . mode === "background" ? "background_agents" : "twig " ;
757+ this . config . mode === "background" ? "background_agents" : "posthog_code " ;
758758 const gatewayUrl =
759759 process . env . LLM_GATEWAY_URL || getLlmGatewayUrl ( apiUrl , product ) ;
760760 const openaiBaseUrl = gatewayUrl . endsWith ( "/v1" )
Original file line number Diff line number Diff line change 1- export type GatewayProduct = "twig " | "background_agents" ;
1+ export type GatewayProduct = "posthog_code " | "background_agents" ;
22
33export function getLlmGatewayUrl (
44 posthogHost : string ,
5- product : GatewayProduct = "twig " ,
5+ product : GatewayProduct = "posthog_code " ,
66) : string {
77 const url = new URL ( posthogHost ) ;
88 const hostname = url . hostname ;
You can’t perform that action at this time.
0 commit comments