Skip to content

Commit 30ec620

Browse files
author
Tom Softreck
committed
update
1 parent 28d74dd commit 30ec620

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ with socketserver.TCPServer(('', PORT), Handler) as httpd:\
336336
docs:
337337
@echo "📚 Generating documentation..."
338338
@mkdir -p docs
339-
@echo "import camel_router\nhelp(camel_router)" | python > docs/api.md
339+
@echo "import dialogchain\nhelp(dialogchain)" | python > docs/api.md
340340
@echo "✅ Documentation generated in docs/"
341341

342342
# Deployment helpers
@@ -358,7 +358,7 @@ benchmark:
358358
# Quick start for new users
359359
quickstart: install-deps setup-env init-camera build-go
360360
@echo ""
361-
@echo "🎉 Camel Router Quick Start Complete!"
361+
@echo "🎉 DialogChain Quick Start Complete!"
362362
@echo ""
363363
@echo "Next steps:"
364364
@echo "1. Edit .env with your camera and email settings"

tests/integration/test_mock_server.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,16 @@ async def test_dialogchain_with_mock_server(mock_server, config):
138138
# Initialize the engine with test config
139139
engine = CamelRouterEngine(test_config, verbose=True)
140140

141+
# Patch the create_source method to use our HTTPSource
142+
original_create_source = engine.create_source
143+
144+
def patched_create_source(uri):
145+
if uri.startswith('http'):
146+
return HTTPSource(uri)
147+
return original_create_source(uri)
148+
149+
engine.create_source = patched_create_source
150+
141151
# Test the route processing
142152
async with aiohttp.ClientSession() as session:
143153
# Get data from the mock server to verify it's working

0 commit comments

Comments
 (0)