CyberStrikeAI/internal/app
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
..
app.go feat(ai): add local model context profile and runtime window probe 2026-10-21 00:12:57 +08:00
asset_tools.go Add files via upload 2026-08-18 20:34:53 +08:00
asset_tools_test.go Add files via upload 2026-08-18 20:34:53 +08:00
c2_hitl_bridge.go Add files via upload 2026-08-18 20:34:53 +08:00
c2_lifecycle.go Add files via upload 2026-08-18 20:34:53 +08:00
c2_tools.go Add files via upload 2026-08-18 20:34:53 +08:00
c2_tools_test.go Add files via upload 2026-08-18 20:34:53 +08:00
cors_security_test.go Add files via upload 2026-08-18 20:34:53 +08:00
main_server_http_redirect.go Add files via upload 2026-08-18 20:34:53 +08:00
main_server_http_redirect_test.go Add files via upload 2026-08-18 20:34:53 +08:00
main_server_tls.go Add files via upload 2026-08-18 20:34:53 +08:00
mcp_authorization.go feat: add vulnerability retest branches with an isolated evidence log 2026-10-10 07:21:20 +08:00
mcp_authorization_test.go Add files via upload 2026-08-18 20:34:53 +08:00
mcp_http_auth_test.go Add files via upload 2026-08-18 20:34:53 +08:00
mcp_project_scope.go Add files via upload 2026-08-18 20:34:53 +08:00
project_fact_tools.go Merge main and reconcile project resume with checkpoint index limits 2026-10-16 11:15:11 +08:00
project_memory_scope_test.go feat: scope automatic working memory to the current conversation 2026-10-12 09:59:15 +08:00
template_render_test.go feat: add vulnerability retest branches with an isolated evidence log 2026-10-10 07:21:20 +08:00
vision_tools.go Add files via upload 2026-08-18 20:34:53 +08:00
vulnerability_retest_test.go feat: add vulnerability retest branches with an isolated evidence log 2026-10-10 07:21:20 +08:00
vulnerability_tools.go feat: add vulnerability retest branches with an isolated evidence log 2026-10-10 07:21:20 +08:00