1325 Commits
Author SHA1 Message Date
Shubham Saboo 6c16b23f1b Merge pull request #1240 from megandas/fix/ai-agent-governance-null-content
fix(ai_agent_governance): handle null model content
2026-10-21 16:23:38 -07:00
Shubham Saboo 874bc13a57 Merge pull request #1236 from prince0310/fix/math-agent-guardrails-1194
fix(agentic_rag_math_agent): few-shot guardrail, tolerant verdicts, robust web fallback (Bugs 9+10 of #1194)
2026-10-18 09:28:46 -07:00
Megan Das c79a506d05 fix(ai_agent_governance): handle null model content 2026-10-18 21:50:24 +05:30
Shubham Saboo 8bb9c0ad9d Merge pull request #1225 from JuampiHernandez/fix/ai-deep-research-agent-firecrawl-v4
fix(ai_deep_research_agent): update Firecrawl calls for firecrawl-py v4
2026-10-18 09:15:26 -07:00
Shubham Saboo 3425a35438 Merge pull request #1173 from RaycarlLei/fix/archaeologist-quoted-paths
fix(agent_skills): preserve quoted paths in commit archaeology
2026-10-18 09:15:20 -07:00
Shubham Saboo ea2fadecca Merge pull request #1246 from akhilbharati244/fix/beifong-issue-1245
fix(beifong): resolve startup and runtime crashes
2026-10-18 09:14:14 -07:00
Shubham Saboo 346fef055d Merge pull request #1233 from Kshitij-ambuskar/fix/knowledge-explorer-code-fence-indexerror
fix(ai-knowledge-explorer): handle code-fence-only model replies (Bug 7 of #1194)
2026-10-18 09:14:07 -07:00
Shubham Saboo 6e2732ea8d Merge pull request #1234 from prince0310/fix/rag-clinic-empty-reply-1194
fix(rag_failure_diagnostics_clinic): validate model reply before saving report (Bugs 1+2 of #1194)
2026-10-18 09:14:01 -07:00
Shubham Saboo 83e8de448b Merge pull request #1235 from prince0310/fix/agent-governance-errors-1194
fix(ai_agent_governance): handle endpoint errors, comma-safe tool args, headless approval (Bugs 3+5+6 of #1194)
2026-10-18 09:13:29 -07:00
Shubham Saboo 4d5f53a8b7 Merge pull request #1221 from chaarvilakshmisai-oss/fix-cors-travel-planner
Restrict CORS origins in AI travel planner backend
2026-10-18 09:13:20 -07:00
Shubham Saboo 7b2fbffa82 Merge pull request #1226 from JuampiHernandez/fix/ai-travel-planner-agent-team-firecrawl-v4
fix(ai_travel_planner_agent_team): update Firecrawl import for firecrawl-py v4
2026-10-18 09:13:10 -07:00
Shubham Saboo af2809f5ea Merge pull request #1214 from Omarinho12345/fix/mcp-bridge-pin-v1-1194
pin mcp below v2 for openai remote bridge
2026-10-18 09:13:04 -07:00
Shubham Saboo 2feb6e7553 Merge pull request #1244 from MohammadHijjawi97/fix/chat-with-tarots-langchain-import
fix(chat-with-tarots): import PromptTemplate from langchain_core
2026-10-18 09:12:56 -07:00
akhilbharati244 8bf4f6c0ec fix(beifong): prevent Slack handler unbound thread errors 2026-10-18 08:45:14 +05:30
akhilbharati244 7bb1180255 fix(beifong): handle FAISS save paths safely 2026-10-18 08:44:16 +05:30
akhilbharati244 72c9fd03a3 fix(beifong): initialize recording path before error handling 2026-10-18 08:43:04 +05:30
akhilbharati244 21f033ca7d fix(beifong): initialize and preserve news results 2026-10-18 08:42:40 +05:30
akhilbharati244 bd8177c098 fix(beifong): prevent StaticFiles startup crash 2026-10-18 08:42:34 +05:30
Mohammad Hijjawi a7c22ec9f0 fix(chat-with-tarots): import PromptTemplate from langchain_core
langchain 1.x removed the langchain.prompts module, so a fresh install of
requirements.txt (which leaves langchain unpinned) fails at startup with
ModuleNotFoundError: No module named 'langchain.prompts'.

PromptTemplate lives in langchain_core.prompts, which is already listed in
requirements.txt and works with both langchain 0.3 and 1.x.
2026-10-17 23:21:59 +01:00
ci fba2c90c56 feat(excaliflow): add multi-canvas tabs, switcher dropdown, and localStorage auto-save 2026-10-17 09:56:08 -07:00
Shubham Saboo 40b16b66e5 Remove sponsors section from README
Removed the sponsors section from the README file.
2026-10-15 23:55:31 -05:00
Shubham Saboo 4a1919b71c Merge pull request #1241 from Shubhamsaboo/feat/excaliflow
feat: add Excaliflow hand-drawn diagramming and animated flow app
2026-10-15 21:55:02 -07:00
ci 1bb58b544f docs(readme): move Standalone Apps & Tools above Starter AI Agents with Excaliflow on top 2026-10-15 21:54:09 -07:00
ci aace1c11d9 refactor(excaliflow): move to advanced_llm_apps and generalize Standalone Apps & Tools section 2026-10-15 21:52:39 -07:00
ci 85ad971767 docs(excaliflow): add emoji to README title 2026-10-15 21:46:33 -07:00
ci 0ec75095bd fix(excaliflow): make Clean, Artist, and Cartoon visually distinct across shapes and arrows 2026-10-15 21:43:23 -07:00
ci 8a0544f34d fix(excaliflow): prevent elbow arrows cutting through shapes, improve arrow drag UX, and differentiate Clean/Artist/Cartoon 2026-10-15 21:09:03 -07:00
ci c6979db3c3 fix(excaliflow): fix straight, elbow, and curved arrow geometry, arrowhead angles, and handle dragging 2026-10-15 20:57:08 -07:00
ci 21bc00534a Simplify hatch loops, arrow endpoint snapping, and style control bindings 2026-10-15 20:36:05 -07:00
ci 7947a12a6a Apply five-axis code review fixes and expand verification suite 2026-10-15 14:09:33 -07:00
ci 6e81043a03 feat: add Excaliflow hand-drawn diagramming and animated flow app 2026-10-15 10:48:04 -07:00
prince0310 1ee4f2db88 fix(agentic_rag_math_agent): use few-shot guardrail, tolerant verdicts, robust web fallback
Fixes Bugs 9 and 10 of #1194.

Bug 9 - guardrails:
- The 38-example ChainOfThought classifier was never called, so the
  examples never reached the model. Attach them as demos on the
  classifier that actually runs (duplicates removed).
- Parse Yes/No verdicts tolerantly ("Yes.", "**Yes**", "Yes, this is
  math"), and log unclear verdicts instead of silently rejecting.

Bug 10 - web fallback:
- query_web: add a request timeout and raise_for_status, catch request
  and JSON errors, and treat a missing/null answer as no result
  instead of passing "No answer found." or "None" to the model.
- Label the answer source correctly when web search is unavailable.
- Re-validate the retried answer; if it fails again, return it with a
  clear "could not be verified" warning.
- Benchmark: match the gold answer as a standalone token. The substring
  test counted gold "C" as correct for any reply containing the letter
  c, and "12" inside "112" or "0.12".
2026-10-11 16:31:12 +05:30
prince0310 208dfeb678 fix(ai_agent_governance): handle endpoint errors, comma-safe tool args, headless approval
Fixes Bugs 3, 5 and 6 of #1194.

Bug 3 - endpoint errors:
- Wrap the model call in GovernedAgent.run so a 429/400/404/500, timeout
  or dropped connection returns "Model call failed: ..." instead of
  ending the demo with a traceback.
- Read the model from OPENAI_MODEL (default stays gpt-4).

Bug 5 - truncated tool arguments:
- Parse tool calls with ast instead of splitting on ", ". Values with
  commas, quotes or leading/trailing spaces are kept intact, and
  malformed calls are rejected with a parse error instead of being
  silently truncated and executed.
- Accept only literal keyword arguments. Positional args are rejected
  because the policies look up kwargs such as "path" and "url".

Bug 6 - approval prompt swallowed in headless runs:
- Treat EOFError from the approval prompt as a denial with a clear
  reason ("No human available to approve") instead of "Tool error: ".
- Record the human approval outcome (allow/deny) in the audit log.
- Include the exception type in generic "Tool error" messages.
2026-10-11 15:54:31 +05:30
prince0310 e2ee7c719b fix(rag_failure_diagnostics_clinic): validate model reply before saving report
Fixes Bugs 1 and 2 of #1194.

- Guard the response envelope: a reply with no/null `choices` no longer
  raises IndexError/TypeError outside the request's try block.
- Do not save empty, null or whitespace-only replies as a diagnosis.
- Do not save replies truncated by the token limit (finish_reason ==
  "length") or replies missing the mandated "Primary pattern" section.
- In each case, print why the report was not saved and continue the loop.
2026-10-11 15:50:02 +05:30
Kshitij acd9a84314 fix(ai-knowledge-explorer): handle code-fence-only model replies
A reply of just a code fence raised IndexError outside the try block. Extract fence stripping into a helper so it falls through to the existing JSONDecodeError handling.

Part of #1194 (Bug 7)
2026-10-11 15:24:43 +05:30
Juampi 86076345da fix(ai_deep_research_agent): update Firecrawl calls for firecrawl-py v4 2026-10-05 14:00:07 -03:00
Juampi b8aded55cc fix(ai_travel_planner_agent_team): update Firecrawl import for firecrawl-py v4 2026-10-05 14:00:07 -03:00
Chaarvi.K 368a64d219 Restrict CORS origins in AI travel planner backend 2026-10-04 13:14:44 +05:30
Omarinho12345 938be23550 pin mcp below v2 for openai remote bridge 2026-10-01 20:25:17 +02:00
Shubham Saboo 4bf51ab704 Restore agent run instructions and add template section
Restored instructions for running the coding agent and added a new section for browsing all templates.
2026-09-28 23:56:53 -05:00
Shubham Saboo a76ce2a631 Merge pull request #1211 from Shubhamsaboo/tinyfish-sponsor-banner
docs(readme): add TinyFish sponsor banner, drop top Unwind banner
2026-09-28 21:17:37 -07:00
Shubham SabooandClaude Opus 5.5 ad0c3b2800 docs(readme): crop TinyFish banner to 3:1 to match other sponsor banners
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-28 19:10:40 -07:00
Shubham SabooandClaude Opus 5.5 45f867fa57 docs(readme): put TinyFish banner in the two-column sponsor table
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-28 19:09:35 -07:00
Shubham SabooandClaude Opus 5.5 d25f821cb0 docs(readme): add TinyFish sponsor banner, drop top Unwind banner
Adds a "Thanks to our sponsors" section after "Run one now" with the
TinyFish Community Programs banner (Students + Ambassadors), and removes
the Unwind AI image banner from the top of the README.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-28 18:53:16 -07:00
Shubham Saboo dc676965bc Merge pull request #1204 from Shubhamsaboo/self-improving-agent-skills-model
feat(self-improving-agent-skills): choose the Gemini model
2026-09-26 01:27:01 -07:00
ciandClaude Opus 4.8 c8f8b99f2a fix(self-improving-agent-skills): replace dead gemini-3-pro-preview suggestion
The model-suggestions dropdown (and the README env-override example) offered
gemini-3-pro-preview, which the live Gemini API now returns 404 for
("no longer available ... use models/gemini-3.1-pro-preview"). A user picking
it, or an operator setting GEMINI_MODEL to it, hits a 500 with a misleading
"check your API key" message even though the key is valid.

Swap it for gemini-3.1-pro-preview, the replacement Google's own 404 names,
verified working against the live API (analyze + generate). The default stays
gemini-3.8-flash. Test fixtures that used the id are updated to match.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-09-26 01:22:14 -07:00
Shubhamsaboo ec1b4d5888 feat(self-improving-agent-skills): choose the Gemini model
The model was hardcoded as gemini-3-flash-preview in the optimizer, so
changing it meant editing code. The default is now gemini-3.8-flash, the
GEMINI_MODEL environment variable overrides it on the server, and the UI
has a model field next to the API key whose value is sent with analyze,
regenerate and start. GET /api/models reports the current default and
suggested ids so the field shows the real default; a value that does not
look like a model id is refused with a 400 instead of silently replaced.
The running step shows the model the backend reports.

A request without a model, as the old UI sends, still works and runs on
the server default. Backend tests cover every new path with a fake
optimizer, so they need no API key.

Closes #1200
2026-09-25 23:36:31 -07:00
Shubham Saboo 9aad310121 Merge pull request #1203 from Shubhamsaboo/codex/insurance-live-avatar
Add optional live avatar to insurance claim agent
2026-09-25 23:24:00 -07:00
ci af0b723a0d Remove avatar placeholder images and serving code 2026-09-25 23:08:54 -07:00
ci a497d50f41 Add optional live avatar to insurance claim agent 2026-09-25 22:59:21 -07:00