mirror of
https://github.com/katanemo/plano.git
synced 2026-06-17 15:25:17 +02:00
remove sleep
This commit is contained in:
parent
6e63bacb08
commit
bf05cc5f57
1 changed files with 4 additions and 6 deletions
|
|
@ -31,9 +31,7 @@ def process_log_line(line):
|
|||
|
||||
|
||||
for line in sys.stdin:
|
||||
if not line:
|
||||
time.sleep(1)
|
||||
continue
|
||||
tokens = line.split("gateway: upstream_llm trace details: ")
|
||||
if len(tokens) > 1:
|
||||
process_log_line(tokens[1])
|
||||
if line:
|
||||
tokens = line.split("gateway: upstream_llm trace details: ")
|
||||
if len(tokens) > 1:
|
||||
process_log_line(tokens[1])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue