Commit Graph

8 Commits

Author SHA1 Message Date
Xiaohan-Tian 4bdd0d5ea7 feat: minor UI adjustments 2026-06-02 22:31:29 -07:00
Xiaohan-Tian 5aacf01457 feat: add agent todo tool and inline todo snapshot cards in chat 2026-06-02 21:52:44 -07:00
Xiaohan-Tian c1d9f4c9fb feat: add manual/auto conversation compaction and preserve full export history 2026-06-01 19:55:59 -07:00
Xiaohan-Tian 2bd6925f27 fix: switch to processing status when receiving response tokens from LLM 2026-05-14 21:37:06 -07:00
Xiaohan-Tian eb1c7bd2fc feat: added performance statistics info when using embedded LLM 2026-05-14 19:05:13 -07:00
Xiaohan-Tian ee31ca087e fix: minor UI enhancements. 2026-04-05 19:59:49 -07:00
Xiaohan-Tian 2cd976ff96 refactor: migrate agent system from XML tool calling to OpenAI SDK with native function calling
- Replace custom XML-based tool parsing (XMLToolExecutor) with OpenAI SDK's
  native tool_calls via `openai` npm package (dangerouslyAllowBrowser)
- Consolidate 4 LLM providers (OpenAI, Claude, Gemini, ClaudeOpenRouter)
  into a single OpenAI SDK-based LLMProvider compatible with any
  OpenAI-style API (OpenAI, OpenRouter, Ollama, vLLM)
- Move agentic tool execution loop from ChatBox into AgentCore
- Update Message type to support tool roles, tool_calls, and tool_call_id
- Update system prompt to remove XML formatting instructions (~45% smaller)
- Remove AttemptCompletionTool (replaced by stop_reason detection),
  ThinkTool, and ThinkingTool
- Polish tool descriptions for OpenAI function calling schema compliance
- Normalize base URLs by stripping /chat/completions suffix
2026-04-05 18:59:25 -07:00
Xiaohan-Tian 8b0ddae58d optimized ChatBox component. 2025-08-16 17:35:40 -07:00