feat: improve system compatibility and increase stdout buffer limit to 8000

This commit is contained in:
Jiaqing Liang
2026-02-02 15:22:05 +08:00
parent 80862f9b56
commit a25f7b8a29
3 changed files with 4 additions and 3 deletions

View File

@@ -8,7 +8,8 @@ import streamlit as st
import time, json, re
with open('assets/tools_schema.json', 'r', encoding='utf-8') as f:
TOOLS_SCHEMA = json.load(f)
TS = f.read()
TOOLS_SCHEMA = json.loads(TS if os.name == 'nt' else TS.replace('powershell', 'bash'))
st.set_page_config(page_title="Cowork", layout="wide")