-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathweather.py
More file actions
30 lines (26 loc) · 821 Bytes
/
weather.py
File metadata and controls
30 lines (26 loc) · 821 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
"""
DEPRECATED: This file has been refactored into a proper multi-agent architecture.
Please use the new modular structure:
- main.py: Main application entry point
- config.py: Configuration and API key setup
- state.py: State management
- tools.py: Search tools (weather, news, location)
- agents.py: Agent implementations
- graph.py: Graph orchestration
To run the improved application:
python main.py
The new architecture includes:
✅ Proper state management
✅ Conditional routing
✅ Better error handling
✅ Modular design
✅ Type safety
✅ LLM integration for better responses
✅ Enhanced search capabilities
"""
if __name__ == "__main__":
print(__doc__)
print("\nRunning the new main.py application...")
import subprocess
import sys
subprocess.run([sys.executable, "main.py"])