Commit a0afb77
fix: wire crewai worker to top-level models
The worker still depended on the removed chat/embedding provider
services, and no service was attached to the new top-level models, so
the CHAT_URL/CHAT_MODEL/EMBEDDING_URL/EMBEDDING_MODEL env vars read by
app/core/ai_clients.py were never injected. Attach both models to the
worker via endpoint_var/model_var (compose.local.yaml inherits this
through extends), rename the chat model back to match the local file,
and drop x-defang-llm to match the other samples on the new syntax.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Sw7j9FYnbChZJbYArxbhuo1 parent 75acd1e commit a0afb77
1 file changed
Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | | - | |
70 | 68 | | |
71 | 69 | | |
72 | 70 | | |
73 | 71 | | |
74 | 72 | | |
75 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
76 | 81 | | |
77 | 82 | | |
78 | 83 | | |
79 | 84 | | |
80 | 85 | | |
81 | 86 | | |
82 | 87 | | |
83 | | - | |
| 88 | + | |
84 | 89 | | |
85 | | - | |
86 | 90 | | |
87 | 91 | | |
88 | | - | |
| |||
0 commit comments