Commit f663438
committed
fix(agentkit): OpenAISTT required fields, Deepgram keyterm, VertexAILLM URL, LLM precedence, TurnDetection language cleanup
- OpenAISTT.to_config: change default model to gpt-4o-mini-transcribe; validate that model,
prompt, and language are present after applying input_audio_transcription overrides
- DeepgramSTTOptions: add keyterm field emitted as params.keyterm
- OpenAITTSOptions: strengthen empty check from to for base_url/model
- VertexAILLM.to_config: construct correct Vertex AI endpoint URL from location/project_id/model
- _resolve_llm_config: vendor-provided keys now win over agent-level convenience fields
- Remove bare en from TurnDetectionLanguage and TURN_DETECTION_LANGUAGE_VALUES1 parent fdfa4ac commit f663438
4 files changed
Lines changed: 24 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
224 | | - | |
225 | 224 | | |
226 | 225 | | |
227 | 226 | | |
| |||
258 | 257 | | |
259 | 258 | | |
260 | 259 | | |
261 | | - | |
262 | 260 | | |
263 | 261 | | |
264 | 262 | | |
| |||
944 | 942 | | |
945 | 943 | | |
946 | 944 | | |
947 | | - | |
948 | | - | |
949 | | - | |
| 945 | + | |
950 | 946 | | |
951 | | - | |
| 947 | + | |
952 | 948 | | |
953 | | - | |
| 949 | + | |
954 | 950 | | |
955 | | - | |
| 951 | + | |
956 | 952 | | |
957 | | - | |
| 953 | + | |
958 | 954 | | |
959 | 955 | | |
960 | 956 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
376 | 376 | | |
377 | 377 | | |
378 | 378 | | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
379 | 385 | | |
380 | | - | |
| 386 | + | |
381 | 387 | | |
382 | 388 | | |
383 | 389 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| |||
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
| 75 | + | |
| 76 | + | |
74 | 77 | | |
75 | 78 | | |
76 | 79 | | |
| |||
124 | 127 | | |
125 | 128 | | |
126 | 129 | | |
127 | | - | |
| 130 | + | |
| 131 | + | |
128 | 132 | | |
129 | 133 | | |
130 | 134 | | |
131 | 135 | | |
132 | 136 | | |
133 | 137 | | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
134 | 144 | | |
135 | 145 | | |
136 | 146 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
| 117 | + | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| |||
0 commit comments