Commit Graph

8 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 0dd997ca01 refactor(runtime): remove Eino and make Pi the sole agent engine 2026-11-11 12:45:32 +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
公明 c7603c2b66
Add files via upload 2026-08-18 20:17:38 +08:00
公明 55ee5fbac9
Delete internal directory 2026-08-18 20:14:29 +08:00
公明 ee4676a591
Add files via upload 2026-08-15 02:14:36 +08:00
公明 2910289f0b
Delete internal directory 2026-08-15 01:54:26 +08:00
公明 0f92817261
Add files via upload 2026-07-31 21:21:47 +08:00