Commit de7c278
fix(demo): add Gemini backend support and graceful LLM error handling
- Add Google Gemini as LLM backend (auto-detect GOOGLE_API_KEY)
- Normalize tool calls across OpenAI/Azure/Gemini backends
- Gracefully catch API errors (quota, auth) with simulated fallback
- Governance middleware always runs real, even when LLM fails
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 91cca4d commit de7c278
1 file changed
+34
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
| 212 | + | |
212 | 213 | | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
217 | 247 | | |
218 | 248 | | |
219 | 249 | | |
| |||
0 commit comments