Commit Graph

10 Commits

Author SHA1 Message Date
Sycun b501a91913 fix(pi): preserve skill stats, guard vendor draft fields, and propagate runtime config 2026-11-29 21:54:22 +08:00
Sycun 5e1922b40c refactor(llm): remove dead client code, unlock Pi native APIs, and route single-shot calls via Pi
Drop the unread openAIClient/auditLLM fields and the zero-call Go streaming
methods so the synchronous probe client is the only remaining HTTP path.
Map the five additional Pi 1.7.0 vendor protocols without leaking
openai-completions compat knobs, and fix generateOnly so a text-only message
is never dropped. Knowledge expansion, workflow drafts, attack chains, FOFA
parsing, assessment Q&A and HITL audit now share one Pi single-shot entry.
2026-11-29 21:11:58 +08:00
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