1. LLM接口改为字节级流式接口,防止超时错误,也避免utf-8长字节字符拼接错误
This commit is contained in:
@@ -6,10 +6,7 @@ Forum日志读取工具
|
||||
import re
|
||||
from pathlib import Path
|
||||
from typing import Optional, List, Dict
|
||||
import logging
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
from loguru import logger
|
||||
|
||||
def get_latest_host_speech(log_dir: str = "logs") -> Optional[str]:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user