Commit Graph

4 Commits

Author SHA1 Message Date
Khalid A
464d2c8230 Fix LLM returning null for repo_relative_path in routing
Two changes:
1. Add `format: "json"` to Ollama API calls so the model enforces
   JSON output mode, reducing malformed responses
2. Strengthen the routing prompt with explicit type constraints
   ("NEVER null or empty"), rules to copy manifest paths exactly,
   and a concrete example response

This fixes the validation error: "repo_relative_path: Expected
string, received null" from qwen3.5:397b-cloud.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-17 20:07:16 -05:00
Khalid A
3a151f3832 Add message text logging to SMS webhook handler
- Log the message text for regular SMS: "Received text" with text content
- Log "Received image" for MMS messages without the content
- Includes masked phone number and message ID in both cases

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-17 18:26:51 -05:00
Khalid A
875f377194 Fix Docker build: replace workspace:* with file: references
npm doesn't support the `workspace:*` protocol (that's pnpm/Yarn).
This caused `npm install` to fail with EUNSUPPORTEDPROTOCOL during
Docker builds. Replaced both occurrences with `file:` relative paths
that npm workspaces resolves correctly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-17 16:17:58 -05:00
kadil
4ee4cb8e7c First cut 2026-04-17 16:08:31 -05:00