Overhaul demos directory: cleanup, restructure, and standardize configs#760
Merged
adilhafeez merged 6 commits intomainfrom Feb 17, 2026
Merged
Overhaul demos directory: cleanup, restructure, and standardize configs#760adilhafeez merged 6 commits intomainfrom
adilhafeez merged 6 commits intomainfrom
Conversation
Phase 1 - Remove dead/duplicate content:
- Delete demos/samples_java/ (incomplete Java demo)
- Delete demos/shared/chatbot_ui/ (replaced by AnythingLLM)
- Delete demos/shared/grafana/, prometheus/, logfire/, honeycomb/, signoz/
(legacy observability stacks; only jaeger is retained)
- Delete variant docker-compose files (honeycomb, logfire, signoz, jaeger)
- Delete demos/use_cases/spotify_bearer_auth/run_demo.sh (stale script)
Phase 2 - Restructure into semantic categories:
- getting_started/ : weather_forecast, llm_gateway
- agent_orchestration/ : travel_agents, multi_agent_crewai_langchain
- llm_routing/ : model_alias_routing, preference_based_routing, claude_code_router
- filter_chains/ : http_filter, mcp_filter
- integrations/ : ollama, spotify_bearer_auth
- advanced/ : model_choice_test_harness, multi_turn_rag,
currency_exchange, stock_quote
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Update all demo config files to version v0.3.0
- Rename llm_providers → model_providers across all configs
- Modernize listener format from object to array style
(e.g. listeners: [{type: model, name:, port:}])
- Replace chatbot_ui with AnythingLLM in 6 docker-compose files
- Remove prometheus/grafana services from llm_gateway and
preference_based_routing docker-compose files
- Add tracing: random_sampling: 100 to configs that lacked it
- Update 3 CLI init templates (coding_agent_routing,
preference_aware_routing, conversational_state_v1_responses)
- Fix test_init.py assertion for model_providers key
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Update README.md demo path references to agent_orchestration/ - Update docs/source paths for multi_turn_rag and travel_agents - Update e2e test scripts for weather_forecast and model_alias_routing - Update docker-compose.dev.yaml and e2e docker-compose.yaml paths - Update demo READMEs with correct cross-references and remove references to deleted observability stacks - Update test runner script for preference_based_routing path Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Update ci.yml demo paths: use_cases/preference_based_routing →
llm_routing/preference_based_routing, samples_python/currency_exchange
→ advanced/currency_exchange
- Fix SocketAddressValidationError in Envoy config: set default address
("0.0.0.0") and timeout ("30s") on array-style listener dicts so the
Envoy template renders valid listener addresses
- Also extract prompt_gateway_listener from type: "prompt" listeners
in the array format (was only handled for legacy dict format)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
# Conflicts: # demos/shared/chatbot_ui/Dockerfile
Use dict merge ({**defaults, **listener}) instead of setdefault() to
provide address/timeout defaults for the Envoy template without
mutating the original listener dicts. This prevents extra fields
(timeout: 30s) from leaking into the rendered plano config YAML.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
salmanap
reviewed
Feb 17, 2026
Contributor
salmanap
left a comment
There was a problem hiding this comment.
one minor comment - please spot check a few of these demos, because its hard to tell if they work given the filepath moves
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.
Summary
samples_java/,shared/chatbot_ui/, legacy observability stacks (grafana, prometheus, logfire, honeycomb, signoz), and variant docker-compose filesgetting_started/,agent_orchestration/,llm_routing/,filter_chains/,integrations/,advanced/— replacing the flatsamples_python/anduse_cases/layoutllm_providers→model_providers, modernize listener format to array style, add tracing where missing, replace chatbot_ui with AnythingLLM in docker-compose files, and update 3 CLI init templates