zhayujie
d78105d57c
fix: tool call match
2026-03-12 17:05:27 +08:00
zhayujie
153c9e3565
fix(memory): remove useless prompt
2026-03-12 15:29:58 +08:00
zhayujie
c11623596d
fix(memory): prevent context memory loss by improving trim strategy
2026-03-12 15:25:46 +08:00
zhayujie
e791a77f77
fix: strengthen bootstrap flow
2026-03-12 12:13:05 +08:00
zhayujie
ee0c47ac1e
feat: file send prompt
2026-03-12 00:11:34 +08:00
zhayujie
eba90e9343
fix: workspace bootstrap
2026-03-11 23:35:42 +08:00
zhayujie
d8374d0fa5
fix: web_fetch encoding
2026-03-11 19:42:37 +08:00
zhayujie
fa61744c6d
feat(web_fetch): support downloading and parsing remote document files (PDF, Word, Excel, PPT)
2026-03-11 17:47:15 +08:00
zhayujie
4fec55cc01
feat: web_featch tool support remote file url
2026-03-11 17:16:39 +08:00
zhayujie
734c8fa84f
fix: optimize skill prompt
2026-03-11 12:40:37 +08:00
zhayujie
9a8d422554
feat: package skill install
2026-03-11 12:18:36 +08:00
zhayujie
b21e945c76
feat: optimize bootstrap flow
2026-03-11 11:27:08 +08:00
zhayujie
a02bf1ea09
Merge pull request #2693 from 6vision/fix/bot-type-and-web-config
...
fix: rename zhipu bot_type, persist bot_type in web config, fix re.syb escape error
2026-03-11 10:24:19 +08:00
zhayujie
eda82bac92
fix: gemini tool call bug
2026-03-11 02:04:09 +08:00
6vision
c4a93b7789
fix: rename zhipu bot_type, persist bot_type in web config, fix re.sub escape error
...
- Rename ZHIPU_AI bot type from glm-4 to zhipu to avoid confusion with model names
- Add bot_type persistence in web config to fix provider dropdown resetting on refresh
- Change OpenAI provider key to chatGPT to match bot_factory routing
- Add DEEPSEEK constant and route it to ChatGPTBot (OpenAI-compatible API)
- Keep backward compatibility for legacy bot_type glm-4 in bot_factory
- Fix re.sub bad escape error on Windows paths by using lambda replacement
- Remove unused pydantic import in minimax_bot.py
Made-with: Cursor
2026-03-10 21:34:24 +08:00
zhayujie
c3f9925097
fix: remove injected max-steps prompt from persisted conversation history
2026-03-10 20:08:59 +08:00
zhayujie
4e32f67eeb
fix: validate tool_call_id pairing #2690
2026-03-10 14:52:07 +08:00
zhayujie
9d8df10dcf
feat: clarify send tool is local-only
2026-03-10 12:10:10 +08:00
zhayujie
71c8436e90
fix: skill download to temp dir
2026-03-09 18:43:28 +08:00
zhayujie
08c69f5e9b
fix: clean existing skill directory before remote install to ensure full overwrite
2026-03-09 17:23:09 +08:00
zhayujie
a50fafaca2
refactor: convert image vision from skill to native tool
2026-03-09 16:01:56 +08:00
zhayujie
3b8b5625f8
feat: add image vision provider
2026-03-09 11:37:45 +08:00
zhayujie
6be2034110
feat: add fallback embedding provider
2026-03-09 11:03:31 +08:00
zhayujie
ccb9030d3c
refactor: convert web-fetch from skill to native tool
2026-03-09 10:13:48 +08:00
zhayujie
022c13f3a4
feat: upgrade memory flush system
...
- Use LLM to summarize discarded context into concise daily memory entries
- Batch trim to half when exceeding max_turns/max_tokens, reducing flush frequency
- Run summarization asynchronously in background thread, no blocking on replies
- Add daily scheduled flush (23:55) as fallback for low-activity days
- Sync trimmed messages back to agent to keep context state consistent
2026-03-08 21:56:12 +08:00
zhayujie
bb868b83ba
feat: add chat history query
2026-03-08 13:03:27 +08:00
zhayujie
24298130b9
fix: minimax tool_id missing
2026-03-06 18:42:03 +08:00
zhayujie
5b91fe04aa
fix: send tool process url
2026-03-06 12:22:22 +08:00
zhayujie
4a16e05b7a
fix: rebuild skills when installing
2026-03-05 21:11:34 +08:00
zhayujie
9d528190bf
feat: add skill category
2026-03-03 16:06:37 +08:00
zhayujie
0f23b209ad
fix: adjust the context of restart loading
2026-03-03 11:38:14 +08:00
zhayujie
7c67513d24
fix: convert bash-style $VAR to %VAR% on Windows
2026-02-28 18:02:06 +08:00
zhayujie
6ed85029c5
fix: agent skills
2026-02-28 16:46:49 +08:00
zhayujie
e9c57ddf4d
fix: adjust default turns
2026-02-28 15:25:20 +08:00
zhayujie
a33ce97ed9
fix: restore only user/assistant text from history, strip tool calls
...
Made-with: Cursor
2026-02-28 15:14:56 +08:00
zhayujie
b788a3dd4e
fix: incomplete historical session messages
2026-02-28 15:03:33 +08:00
zhayujie
3ddbdd713d
Merge branch 'master' of github.com:zhayujie/chatgpt-on-wechat
2026-02-26 18:57:43 +08:00
zhayujie
c9adddb76a
fix: pass channel_type correctly in multi-channel mode
2026-02-26 18:57:08 +08:00
zhayujie
f0a12d5ff5
Merge pull request #2678 from zhayujie/feat-multi-channel
...
feat: support multi-channel
2026-02-26 18:34:48 +08:00
zhayujie
7cce224499
feat: support multi-channel
2026-02-26 18:34:08 +08:00
zhayujie
97397ca585
Merge pull request #2674 from haosenwang1018/fix/bare-excepts
...
fix: replace 29 bare except clauses with except Exception
2026-02-26 12:11:49 +08:00
zhayujie
925d728a86
fix: replace upsert syntax to support SQLite lower version
2026-02-26 10:44:04 +08:00
zhayujie
9917552b4b
fix: improve web UI stability and conversation history restore
...
- Fix dark mode FOUC: apply theme in <head> before first paint, defer
transition-colors to post-init to avoid animated flash on load
- Fix Safari IME Enter bug: defer compositionend reset via setTimeout(0)
- Fix history scroll: use requestAnimationFrame before scrollChatToBottom
- Limit restore turns to min(6, max_turns//3) on restart
- Fix load_messages cutoff to start at turn boundary, preventing orphaned
tool_use/tool_result pairs from being sent to the LLM
- Merge all assistant messages within one user turn into a single bubble;
render tool_calls in history using same CSS as live SSE view
- Handle empty choices list in stream chunks
2026-02-26 10:35:20 +08:00
haosenwang1018
adca89b973
fix: replace bare except clauses with except Exception
...
Bare `except:` catches BaseException including KeyboardInterrupt and
SystemExit. Replaced 29 instances with `except Exception:`.
2026-02-25 11:49:19 +00:00
zhayujie
29bfbecdc9
feat: persistent storage of conversation history
2026-02-25 18:01:39 +08:00
zhayujie
1c71c4e38b
feat: agent chat service
2026-02-21 00:39:36 +08:00
zhayujie
5e3eccb3f6
feat: support memory service
2026-02-20 23:44:05 +08:00
zhayujie
e1dc037eb9
feat: cloud skills manage
2026-02-20 23:23:04 +08:00
zhayujie
48db538a2e
feat: support Minimax-M2.5, glm-5, kimi-k2.5
2026-02-14 15:27:44 +08:00
zhayujie
4f0ea5d756
feat: make web search a built-in tool
2026-02-09 11:37:11 +08:00