Files
KGStudio/public/prompts
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
..
2025-08-11 18:37:21 -07:00
2025-08-11 18:37:21 -07:00
2025-08-11 18:37:21 -07:00

System Prompt Attribution & License

This system prompt was created for K.G.Studio.

License

The system prompt is licensed under the Apache License, Version 2.0.
You may not use this prompt, in whole or in part, to file or assist in filing any patent application.

Full license text can be found in LICENSE under the root directory.

Attribution

Portions of the structure and organization of this prompt are derived from the Cline project, which is licensed under the Apache License, Version 2.0.

Original project: Cline Modifications: Substantial textual and functional changes have been made; only the general content structure remains.