twilio-opencode

A lightweight express server to handle Twilio voice and messaging webhooks for prompting Opencode.
git clone https://unitehenry.com/git/twilio-opencode.git
Log | Files | Refs | README | LICENSE

commit 384b74ef70e0e19a3b61112bfd4d8f6f1779b20e
parent ba234cfc5b0cfcd3597093f80970fe05837c058f
Author: Henry Unite <unitehenry@gmail.com>
Date:   Thu, 26 Feb 2026 09:07:31 +0000

feat: opencode base url env var

Diffstat:
Mprompt.ts | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/prompt.ts b/prompt.ts @@ -12,7 +12,7 @@ interface PromptParams { } export default async (params: PromptParams): Promise<PromptResult> => { - const baseUrl = "http://127.0.0.1:36967"; + const baseUrl = process.env.OPENCODE_BASE_URL || undefined; const { message, sessionId } = params;