| 123456789 |
- import sys
- path = "/data/ai/audio/server/src/services/llm/index.ts"
- with open(path) as f:
- lines = f.readlines()
- # 输出 270-360 (callLLMWithMessages) 和 500-560 (trySwitchModel)
- for start, end in [(200, 350), (495, 555)]:
- print(f"\n========== {start}-{end} ==========")
- for i in range(start-1, min(end, len(lines))):
- print(f"{i+1:4d}: {lines[i].rstrip()}")
|