Commit Graph

20 Commits

Author SHA1 Message Date
Xiaohan-Tian 395032390a feat: add read_chord_progression tool for the Agent 2026-05-26 17:56:55 -07:00
Xiaohan-Tian 6db66be471 feat: allow user to config Gemma 4 E4B and MDX-NET model download URL 2026-05-18 22:55:00 -07:00
Xiaohan-Tian b2bbc08761 fix: remove CORS checking for downloading remote model file 2026-05-15 12:53:36 -07:00
Xiaohan-Tian f5a1ef5b94 fix: failed tests 2026-05-15 12:30:12 -07:00
Xiaohan-Tian a48966d761 feat: added local LLM context length option 2026-05-14 19:44:25 -07:00
Xiaohan-Tian c7a1630862 fix: show cache loading progress 2026-05-14 19:12:36 -07:00
Xiaohan-Tian eb1c7bd2fc feat: added performance statistics info when using embedded LLM 2026-05-14 19:05:13 -07:00
Xiaohan-Tian 98c2b97413 feat: implemented the v1 browser embedded LLM support (Gemma 4 E4B based) 2026-05-14 18:55:23 -07:00
Xiaohan-Tian 26b7510178 fix: rename start_beat to start and end_beat to end in 3 tools. 2026-04-05 21:28:19 -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 b0e589df91 implemented Claude caching breakpoints (OpenRouter version). 2025-08-24 15:38:34 -07:00
Xiaohan-Tian efb161dbf4 implemented ClaudeOpenRouterProvider. 2025-08-24 15:23:57 -07:00
Xiaohan-Tian 429efaf629 cleaned up the LLM providers. 2025-08-16 16:25:45 -07:00
Xiaohan-Tian cf4f3edb30 removed native tool_calls handling from OpenAIProvider. 2025-08-16 15:49:41 -07:00
Xiaohan-Tian fc151c818f remove debug info from AttemptCompletionTool. 2025-08-12 23:19:28 -07:00
Xiaohan-Tian 91dc9e5023 the code has been updated to ensure that the latest configurations are always retrieved when making calls to the LLM. 2025-08-12 23:02:53 -07:00
Xiaohan-Tian e2e992cbda when converting KGTrack to ABC Notation Music Sheet, we should display the drum instrument name instead of the real track name in case the real track name can't indicate the track is using drum pitch notes. 2025-08-12 20:01:51 -07:00
Xiaohan-Tian 4fc2d773fd when exporting KGProject to ABC Notation Music Sheet, we need to export all the tracks including the track contains user selected region, but we should skip the track with no region or no note. 2025-08-12 18:56:55 -07:00
Xiaohan-Tian bf085dacf2 introduce BASE_URL to the app and set it to /kgstudio/. 2025-08-11 22:35:51 -07:00
Xiaohan-Tian de51967b49 initial public release. 2025-08-11 18:37:21 -07:00