Liang Jiaqing
a5dbce396a
refactor: remove XAI/Gemini sessions, add MixinSession fallback, improve error handling
...
- Remove GeminiSession and XaiSession from llmcore.py
- Add MixinSession: multi-endpoint fallback with exponential backoff
- ga.py: handle empty/incomplete/max_tokens responses
- Update mykey_template.py and GETTING_STARTED.md accordingly
2026-03-28 08:14:35 +08:00
Liang Jiaqing
38e2a460e3
refactor: optimize code extraction priority in tool handlers & update autofill SOP
2026-03-27 19:43:46 +08:00
Liang Jiaqing
a1c289dbd1
feat(web_driver): support await in executeCode via AsyncFunction fallback
2026-03-27 18:57:47 +08:00
Liang Jiaqing
55a5eae4f6
perf: replace MutationObserver with setInterval to fix performance issue
2026-03-27 18:41:39 +08:00
Jiaqing Liang
04448dcee9
update userscript guard and scheduler flag
2026-03-27 15:41:42 +08:00
Jiaqing Liang
f6c5011eb0
refactor: rewrite GETTING_STARTED, cleanup README, add hub.pyw, remove QUICK_START.pdf
2026-03-27 12:58:13 +08:00
Liang Jiaqing
ff258dd0a9
refine: context window, timeout, abort guard, code_run multi-call check, clean logs
2026-03-26 21:31:48 +08:00
Liang Jiaqing
47ad98239f
enhance SSE parsing, add stream error/truncation detection, fix tool_call fallback extraction
2026-03-26 18:42:09 +08:00
Liang Jiaqing
650c14dc1a
update wechat group QR code (group 2, as group 1 is full)
2026-03-26 13:37:41 +08:00
Liang Jiaqing
551666a53b
refactor: unify OpenAI streaming into _openai_stream(), add Responses API support
...
- Extract shared _openai_stream() from LLMSession and NativeOAISession
- Add Responses API compatibility: system->developer role, flat tools format, no temperature
- Improve error handling: read body before raise_for_status in stream mode
- Add retry mechanism to NativeOAISession (was missing)
- Add api_mode, connect_timeout, read_timeout config to NativeOAISession
2026-03-25 23:50:28 +08:00
Liang Jiaqing
507e886322
refactor llmcore: extract _parse_claude_sse, simplify ToolClient, enhance logging and context trimming
2026-03-25 21:41:33 +08:00
Liang Jiaqing
1b60d2c773
minor: tweak prompt wording, improve OAI history compression
2026-03-25 10:00:16 +08:00
Liang Jiaqing
85250c2694
fix: unify assistant content format for prompt caching to work
2026-03-25 09:45:43 +08:00
Liang Jiaqing
b92d2bc97d
fix: always compress history tags, adjust context trim thresholds
2026-03-25 08:37:46 +08:00
Liang Jiaqing
ddce7ef549
feat: reflect hot-reload + enhance prompt caching & history compression
2026-03-24 22:58:20 +08:00
Liang Jiaqing
274bbcb9e4
docs: update WeChat group QR code
2026-03-24 22:55:04 +08:00
Liang Jiaqing
28f22c3973
feat: add prompt caching for NativeClaudeSession
2026-03-24 20:00:44 +08:00
Liang Jiaqing
f9a0aa71fa
fix: add tool_result placeholder for NativeClaudeSession to prevent 502
2026-03-24 19:54:27 +08:00
Liang Jiaqing
651e0d2bc8
refactor: extract code_run header to external file, add subprocess gbk fallback patch
2026-03-24 09:52:55 +08:00
Liang Jiaqing
5643bfb5f0
code_run自动注入常用import+memory路径; ljqCtrl_sop补充文本输入方法
2026-03-24 00:00:20 +08:00
Liang Jiaqing
515b0cd985
feat: unified media download in wechatapp + proxy support for NativeOAISession
2026-03-23 20:57:39 +08:00
Liang Jiaqing
60f40e3c5e
feat(wechat): add send_file via CDN upload; fix _strip_md robustness
...
- Add WxBotClient.send_file() with AES-128-ECB encryption and CDN upload
- Extract [FILE:] tags before _clean() to preserve filenames
- Fix _strip_md: support 3+ backticks via backreference, stop stripping underscores
- Remove verbose key_info echo from update_working_checkpoint
2026-03-23 17:55:20 +08:00
Jiaqing Liang
eb8834b9df
feat: enhance text_only mode - add form element annotations, block-level line breaks, and whitespace cleanup
2026-03-23 15:26:05 +08:00
Jiaqing Liang
b4bdaf11da
style: remove trailing periods in tool schema descriptions (-31 tokens/round)
2026-03-23 13:56:03 +08:00
Jiaqing Liang
47e9a55feb
feat: add file ref expansion syntax for file_patch and file_write
2026-03-23 13:50:11 +08:00
Jiaqing Liang
66dff812fb
docs: add personal WeChat bot frontend to Latest News
2026-03-23 12:05:23 +08:00
Jiaqing Liang
4b4dc51336
fix: tool_use regex negative lookahead to prevent cross-tag matching; tgapp relative path resolve
2026-03-23 11:46:10 +08:00
Liang Jiaqing
6f6d9f6570
feat: add NativeOAISession + minor fixes (code_run script fallback, thinking prompt tags)
2026-03-22 22:19:46 +08:00
Liang Jiaqing
fd5150ffad
feat: strip markdown formatting in wechat output
2026-03-22 20:45:40 +08:00
Liang Jiaqing
ba6ab901f8
feat: add WeChat bot frontend (wechatapp.py)
2026-03-22 20:20:33 +08:00
Liang Jiaqing
8794c85cfe
docs: update paths for frontends/ migration
2026-03-22 17:47:56 +08:00
Liang Jiaqing
87d557260c
refactor: move frontend apps to frontends/ and fix path references
2026-03-22 17:45:20 +08:00
Liang Jiaqing
a9f0e9628f
fix: llm session tweaks & agent init refactor
2026-03-22 09:55:24 +08:00
Liang Jiaqing
122b6c431c
improve mykey_template: add apibase rules, all session types with full cfg comments
2026-03-21 12:23:58 +08:00
Liang Jiaqing
fdc24e4dd0
add NativeClaudeSession+NativeToolClient, support parallel tool calls, fix tool_calls[-1:], add llm log
2026-03-21 12:13:46 +08:00
Liang Jiaqing
85f17db487
feat: prompt_cache skip compress + style
2026-03-20 23:47:15 +08:00
Jiaqing Liang
05800a4f48
Merge PR #40 : Fix feishu group chat reply and add docs
2026-03-19 14:42:20 +08:00
Jiaqing Liang
4ebb421fd5
Merge PR #39 : Add reasoning_effort config support
2026-03-19 14:38:23 +08:00
Jinyi Han
34452e2d4c
fix: 飞书机器人群聊回复逻辑
2026-03-19 09:57:00 +08:00
YangChen-pro
70ed09ad2b
Support configurable OpenAI reasoning effort
2026-03-18 22:54:58 +08:00
Jinyi Han
34abe90bb2
Merge upstream/main with local fsapp.py preserved
2026-03-18 12:15:49 +08:00
Liang Jiaqing
00038cd1ae
refactor: unify LLM session constructors to accept cfg dict
2026-03-17 16:52:12 +08:00
Jiaqing Liang
d896355bad
fix: key_info regex residue accumulation bug - non-greedy match stopped at first 工作记忆 leaving tail behind
2026-03-16 13:57:52 +08:00
Jiaqing Liang
065a5ee4bf
refactor: working memory dict, merge chat paths, simplify SKILL docs
2026-03-16 13:18:41 +08:00
Jiaqing Liang
3e6be97ec9
feat: add IME composition fix for macOS ( closes #33 )
...
Based on PR #33 by UnsongK. Compressed to 4 lines with OS guard
so Windows users are completely unaffected.
2026-03-16 13:15:48 +08:00
Jinyi Han
806f1e9767
update the operation in feishu app
2026-03-15 23:15:13 +08:00
LJQ
5fdc2c60b2
Merge pull request #31 from wjl2023/fix-readme-date
...
fix: Update release date to 2026-03-10
2026-03-14 21:14:44 +08:00
wjl2023
523ce6133e
fix: Update release date to 2026-03-10 in README
2026-03-14 21:00:05 +08:00
LJQ
da00664a00
Merge pull request #29 from wjl2023/fix-moonshot-temperature
...
fix: Add moonshot API temperature=1.0 constraint
2026-03-14 20:47:44 +08:00
wjl2023
2809a54b29
fix: Add moonshot API temperature=1.0 constraint
...
- Moonshot API (like Kimi) only accepts temperature=1.0
- Added 'moonshot' detection alongside 'kimi' in both raw_ask methods
- Prevents 400 errors when using moonshot models
2026-03-14 20:44:29 +08:00