Oliver-ai-bot_2.0/frontend/lib
Vadym Samoilenko 778b63506b fix: SharePoint download, tool_call_id=None, 204 JSON parse
- sharepoint_browse.py: replace @microsoft.graph.downloadUrl in $select
  with direct /content endpoint download (MS Graph OData annotation not
  returned when $select is used — use /drives/{id}/items/{id}/content
  with follow_redirects=True instead)
- llm.py: fix tool_call_id=None crash — streaming delta chunks have
  id=None in subsequent chunks; use `or` instead of .get(default) which
  doesn't handle explicit None values; deduplicate tool calls by id to
  avoid duplicate execution; skip incomplete delta entries with empty name
- api-client.ts: handle 204 No Content in handleResponse — return null
  instead of calling response.json() on empty body (was crashing on
  DELETE region/department endpoints)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-10 21:37:43 +00:00
..
hooks feat: add open_as_popup mode for slash commands requiring MS auth 2026-03-06 19:05:11 +00:00
api-client.ts fix: SharePoint download, tool_call_id=None, 204 JSON parse 2026-03-10 21:37:43 +00:00
auth.ts feat: SharePoint import, M365 token fix, region-based RAG filtering 2026-03-05 20:13:54 +00:00
microsoft-oauth.ts feat: add GroupMember.Read.All scope to OAuth flow 2026-03-10 16:18:43 +00:00
utils.ts Add frontend/lib/utils.ts (cn helper), fix CORS_ORIGINS parsing 2026-03-04 23:27:50 +00:00