mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-07-22 20:01:46 +00:00
fix(build): Fix build from source error
This commit is contained in:
parent
295d673396
commit
1a2a8a6f43
@ -28,6 +28,7 @@ RUN if [ "$USE_TSINGHUA_UBUNTU" = "true" ]; then \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
apt-get update && apt-get install -y \
|
||||
python${PYTHON_VERSION} \
|
||||
python${PYTHON_VERSION}-dev \
|
||||
python${PYTHON_VERSION}-venv \
|
||||
python3-pip \
|
||||
python3-dev \
|
||||
|
@ -374,7 +374,7 @@ class BaseChat(ABC):
|
||||
ai_response_text, view_message = await self._handle_final_output(
|
||||
final_output, incremental=incremental
|
||||
)
|
||||
full_text = view_message
|
||||
full_text = view_message if text_output else final_output.text
|
||||
# Return the incremental text
|
||||
delta_text = full_text[len(previous_text) :]
|
||||
result_text = delta_text if incremental else full_text
|
||||
|
Loading…
Reference in New Issue
Block a user