Commit Graph
30 Commits
Author SHA1 Message Date
jie65535 a4f5bad322 tools: improve visual image handling 2026-07-26 14:43:34 +08:00
jie65535 7b5a83ba9c tools: integrate QWeather JWT weather service
Replace the unavailable weather endpoint with QWeather location, forecast, minutely precipitation, and alert APIs. Add configurable JWT credentials, automatic alert lookup, setup documentation, and bump the plugin to 1.13.0.
2026-07-24 11:13:26 +08:00
jie65535andClaude Opus 4.8 bc61e99013 Give visual and reasoning models their own first-chunk timeouts
Vision and reasoning requests reused the chat model's 10s first-chunk
timeout, but both legitimately need longer before the first chunk:
vision must download the image server-side first, and reasoning has a
thinking warmup. Logs showed frequent TimeoutCancellationException at
10s/15s for imageRecognition and reasoning.

Add separate visualFirstChunkTimeout (120s) and reasoningFirstChunkTimeout
(90s) config, and raise each service's socket timeout to at least its
first-chunk budget so the socket layer doesn't sever the connection
before the first-chunk timeout can apply. Chat endpoints are unchanged.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
2026-06-26 14:06:00 +08:00
jie65535andClaude Opus 4.8 826dc460df Add chat endpoint failover for resilience against unstable LLM APIs
Configure a list of fallback chat endpoints (chatFallbacks); each blank
field inherits the primary, so you can swap just the API key, just the
model, or the whole vendor. On LLM streaming failure the retry loop
advances to the next endpoint, and a failed endpoint enters a cooldown
(fallbackCooldownMinutes) so a dead primary is skipped instead of
wasting a timeout on every message.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
2026-06-24 22:23:43 +08:00
jie65535andClaude Opus 4.8 4307019ee8 Add global skill system for self-accumulated knowledge
Introduce a cross-group skill system that lets the bot distill reusable
knowledge into markdown docs and load them on demand, keeping day-to-day
context pollution low.

- SkillStore manages data/skills/*.md files with name/description
  frontmatter and an in-memory index cache (rebuilt on init/reload)
- Only the skill index (name + one-line description) is injected via the
  new {skills} system-prompt placeholder; bodies load on demand
- New tools: loadSkill / saveSkill (upsert, iterate = load+overwrite) /
  deleteSkill, gated by PluginConfig.skillsEnabled
- Skill names validated against ^[A-Za-z0-9_-]+$ to prevent traversal
- Wire SkillStore.init into onEnable and refresh on /jgpt reload; add
  /jgpt skills listing command
- Bump version to 1.12.0; update README

Co-Authored-By: Claude Opus 4.8 <[email protected]>
2026-06-20 23:37:44 +08:00
jie65535andClaude Opus 4.7 92acbb2310 Upgrade TTS to qwen3-tts-instruct-flash with instruction control
Adds an optional instructions parameter to sendVoiceMessage so the model
can describe tone, pace and emotion in natural language. Defaults the
TTS model to qwen3-tts-instruct-flash; Chelsie voice is unchanged.

Co-Authored-By: Claude Opus 4.7 <[email protected]>
2026-05-22 15:57:15 +08:00
jie65535andClaude Opus 4.7 39b49bb302 Replace ImageEdit with ImageAgent for Qwen Image 2.0
Supports text-to-image, single-image edit and multi-image fusion (0-3
reference images) via a single tool. Renames imageEditModel config to
imageModel (default qwen-image-2.0) and adds imageWatermark toggle.

Co-Authored-By: Claude Opus 4.7 <[email protected]>
2026-05-22 15:47:08 +08:00
jie65535 72892336bc Add first-chunk timeout 2026-05-22 14:16:00 +08:00
jie65535 e629d37fa8 Relax searchChatHistory limits 2026-05-22 14:15:54 +08:00
jie65535 417b5f631f Add searchChatHistory tool 2026-05-22 14:15:34 +08:00
jie65535 e5d5445a1f Add ModelService with extra body support 2026-05-22 14:15:12 +08:00
jie65535 9094f6c8db Add maxToolOutputLength config 2026-01-25 12:59:00 +08:00
jie65535 ec358fd852 Add context cache 2026-01-06 16:49:27 +08:00
jie65535 6705859604 Add requestOwnerHelp tool 2025-12-06 00:24:24 +08:00
jie65535 634f0c1026 Add meme prompt 2025-11-24 21:31:40 +08:00
jie65535 0f482407d4 Add favorability system
Update version to v1.9.0
2025-10-30 15:03:38 +08:00
jie65535 2c40ef1b16 Add Memory switch 2025-09-10 10:53:34 +08:00
jie65535 af17f1e698 Update version to 1.8.0
Add SendVoiceMessage tool
Move prompt to SystemPrompt.md file
Add tool calling message switch config
2025-08-31 15:57:16 +08:00
jie65535 b6aa638b1a Add DashScope API Config 2025-08-21 13:55:21 +08:00
jie65535 11bdaff54d Add mute tool, default disabled 2025-07-17 13:07:03 +08:00
jie65535 7d911f2fb6 Add temperature config 2025-07-17 12:45:08 +08:00
jie65535 3c4373e1ff Add Visual Agent 2025-07-11 16:50:59 +08:00
jie65535 89794b587e Add visit web tool
Add send message tools
Update version to v1.7.0
2025-07-11 13:08:06 +08:00
jie65535 6c034ab2a7 Add reasoning agent
Update version to v1.5.0
2025-03-06 11:56:28 +08:00
jie65535 de17af77f2 Add message history context 2025-02-28 23:16:07 +08:00
jie65535 be465a7bd7 Add glot run code agent 2024-12-24 23:16:14 +08:00
jie65535 12df62d7fe Add member activity level permission 2024-12-21 21:42:47 +08:00
jie65535 f91dbf8a6d Add WebSearch Agent 2024-12-21 02:19:42 +08:00
jie65535 a6bd48aa4e Update version to v1.1.0
Add timeout config
Add Forward messages when the text is too long
2024-07-29 10:24:36 +08:00
jie65535 9ce557d592 Initial commit 2023-12-17 14:34:22 +08:00