Housekeeping 101#9
Merged
Merged
Conversation
- Update documentation
- Update documentation
Move @-prefix detection from ws_endpoint.py into web/server/mode_routing.py so api.py and the WS layer share one module. Add tests for @qdrant / @docs / @find stripping. Move Put.io and Premiumize (cloud_tools) from register_core_tools to register_optional_tools; register_all_tools still loads them when credentials are set. Add scripts/list-legacy-connections.py for auditing legacy per-product Google connector rows. Align docs and CHANGELOG with @qdrant as the canonical RAG prefix.
Drop per-product connector plugins (gmail, google_drive, bigquery, youtube) from startup; unified google connector keeps using their tools and prompts. Unknown connector_type rows are skipped with a migration warning. Consolidate YAML loading into agentforge.config.load_merged_yaml() so app.config and ConfigManager share one merge path. Add ConfigManager.raw and tests/test_config_loader.py for parity checks.
Gate Canvas on canvas.enabled and Botty on botty.enabled (drop /ws/botty when disabled). Add CanvasSettings; document optional web features in architecture.md. Remove OllamaSettings _merge_profile_chain fallback — profiles always resolve via agentforge.config.ConfigManager. Remove dead strip_agent_prefix and translate_legacy_locality helpers. Consolidate web/server/app.py imports at the top of the module (lifespan and router registration no longer import inline).
Add agentforge/mode_prefixes.py so mode_routing and intent_classifier share @qdrant/@docs/@find constants. Wire Botty analysis_interval, max_frequency_seconds, and dismissal_cooldown_seconds; dismiss emits botty.quiet. Remove unused get_connector_config(). Align README and memory_policy comments with @qdrant canonical naming. Top-level imports in botty_endpoint.py (E402 allowlist entry).
Add PromptLabSettings so prompt_lab.enabled skips DB init and returns 503 on /api/prompt-lab/* when disabled. Mount /api/canvas/* only when canvas.enabled is true, matching the existing Botty WebSocket gate. Update architecture docs, config.example.yaml, CHANGELOG, and feature-flag tests (156 passing).
Update ws_endpoint.py comments and user-facing strings so @qdrant is canonical (@docs/@find remain documented aliases). Consolidate api.py imports at module top; keep indexer_service and pdfplumber lazy. Remove duplicate yaml/FileResponse imports in app.py. Fix prompt_refiner test patches for module-level bindings.
Add session_source.resolve_session_source() so new rows use overrides.source, the WebSocket ?source= param, or the active worker job's overrides before defaulting to web. Stops KB and other external clients from landing in the Agent Chat sidebar as source=web. - /ws/chat: optional ?source= connect-time fallback - push_worker_event: resolve source from job overrides on auto-create - tests/test_session_source.py Remove tracked @felix agent from custom_agents.yaml (use custom_agents.local.yaml instead).
Expand api.md and architecture.md for chat_sessions.source, WebSocket ?source=, and overrides.source. Align chunking README and deploy example with @qdrant as the canonical RAG prefix. Update CHANGELOG for recent housekeeping (session namespacing, api imports, ws_endpoint comments).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.