Commit Graph

18 Commits

Author SHA1 Message Date
Sycun d0da169209 refactor(config): align context optimization with upstream Pi policy 2026-11-13 19:54:11 +08:00
Sycun d7e8a29dfe feat(ai): add local model context profile and runtime window probe
- Probe Ollama, llama.cpp, LM Studio and vLLM runtime context windows, including reverse-proxy subpaths
- Add context_window and context_profile=local: clamp budgets, compaction triggers, tool-output limits and always-visible tools
- Count tool schemas in the soft input budget and apply a 10% token estimate margin for local tokenizers
- Prefer max_tokens for local requests across agent, attack-chain, FOFA, workflow and HITL paths, and honor channel extra_request_fields
- Recognize local context-overflow errors and retry with aggressive compaction
2026-10-21 00:12:57 +08:00
Ed1s0nZ 0c0d4a53e8 fix: use supported FOFA region return field and preserve asset location 2026-10-16 16:14:39 +08:00
公明 cecbe5a086
Add files via upload 2026-08-18 20:20:39 +08:00
公明 55ee5fbac9
Delete internal directory 2026-08-18 20:14:29 +08:00
公明 409e75f15a
Add files via upload 2026-08-15 02:19:19 +08:00
公明 2910289f0b
Delete internal directory 2026-08-15 01:54:26 +08:00
公明 f7ba7070ca
Add files via upload 2026-08-04 11:13:14 +08:00
公明 9bafc2ab98
Add files via upload 2026-07-20 17:31:20 +08:00
公明 1f3472955c
Add files via upload 2026-07-17 17:11:16 +08:00
公明 7eadccbff6
Add files via upload 2026-06-18 12:44:42 +08:00
公明 cf1f8515d9
Delete internal directory 2026-06-18 12:37:39 +08:00
公明 debe967272
Add files via upload 2026-05-06 20:50:28 +08:00
公明 a5e61947d3
Add files via upload 2026-04-19 01:17:09 +08:00
公明 5ef7618f44
Delete internal directory 2026-04-19 01:14:50 +08:00
公明 3fffee80f4
Add files via upload 2026-02-20 18:43:50 +08:00
公明 6431dcb240
Add files via upload 2026-02-20 17:53:38 +08:00
公明 dd883677b8
Add files via upload 2026-02-20 16:16:48 +08:00