File size: 1,129 Bytes
19de729
 
bfcc872
 
 
 
 
 
 
 
 
 
 
 
 
19de729
bfcc872
19de729
 
bfcc872
 
 
 
 
19de729
bfcc872
 
19de729
bfcc872
 
 
 
19de729
bfcc872
 
 
 
19de729
bfcc872
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
31
32
33
34
35
36
37
38
39
40
# src/analyzer/chat/run_chat_plus.py
"""
DEPRECATED: This file has been merged into run_chat.py

Migration:
  python -m src.analyzer.chat.run_chat_plus --verbose

  python -m src.analyzer.chat.run_chat --verbose

All features are now available via flags in run_chat.py:
  --verbose           Show startup diagnostics
  --with-memory       Enable conversation memory
  --extended-tools    Force extended tools
  --no-llm-routing    Disable LLM routing
  --limit N           Load at most N grants
"""
import warnings
import sys

warnings.warn(
    "run_chat_plus.py is deprecated. Use run_chat.py with --verbose flag instead.",
    DeprecationWarning,
    stacklevel=2
)

# Redirect to new unified version
from .run_chat import main

if __name__ == "__main__":
    print("⚠️  WARNING: run_chat_plus.py is deprecated")
    print("   Use: python -m src.analyzer.chat.run_chat --verbose")
    print("   Redirecting to new version...\n")

    # Auto-enable verbose mode for backward compatibility
    argv = sys.argv[1:]
    if "--verbose" not in argv and "-v" not in argv:
        argv = ["--verbose"] + argv

    main(argv)