fix: tool call anchor & wire format, streaming chunk passthrough, WebUI narrow-screen, docs bilingual

This commit is contained in:
root
2026-08-08 11:26:58 +08:00
parent 8e9de95274
commit 5d50b69153
18 changed files with 1119 additions and 42 deletions

View File

@ -155,6 +155,50 @@ html[data-theme="dark"] .dropzone.dragover, html[data-theme="dark"] .dropzone:ho
.empty { color:var(--muted); text-align:center; padding:24px 0; }
#modal-wrap { position:fixed; inset:0; background:rgba(15,22,44,.45); display:flex; align-items:flex-start;
justify-content:center; overflow:auto; padding:48px 20px; z-index:50; }
.twrap { overflow-x:auto; -webkit-overflow-scrolling:touch; }
/* ---------- responsive / narrow screens ---------- */
@media (max-width: 900px) {
header { padding:12px 16px; }
nav { padding:12px 16px 0; overflow-x:auto; }
nav button { padding:7px 12px; white-space:nowrap; }
main { padding:16px 16px 40px; }
.card { padding:16px; }
}
@media (max-width: 640px) {
header { gap:8px; padding:10px 12px; }
.brand h1 { font-size:15px; }
.brand .sub { display:none; }
.hd-actions button { padding:5px 9px; }
nav { gap:4px; padding:10px 12px 0; }
nav button { padding:6px 10px; font-size:13px; }
main { padding:12px 12px 32px; }
.card { padding:13px; border-radius:12px; margin-bottom:14px; }
.card h2 { font-size:13px; }
th,td { padding:8px 10px; }
.row { flex-direction:column; gap:0; }
.model-row { flex-wrap:wrap; }
.model-row input { flex:1 1 120px; }
.model-row select { flex:0 0 auto; }
.tab-chat { height:calc(100vh - 150px); }
.msg { gap:7px; }
.avatar { width:24px; height:24px; font-size:11px; }
.bubble { max-width:90%; padding:8px 11px; font-size:13px; }
.chat-log { padding:14px 12px 6px; gap:14px; }
.chat-tools { flex-wrap:wrap; gap:8px; }
.chat-tools .tl { display:none; }
.chat-tools select { flex:1 1 auto; min-width:0; }
.chat-box { gap:7px; }
.chat-box .sendbtn { padding:10px 13px; }
.attach-btn { width:38px; height:38px; }
.chat-box textarea { font-size:13.5px; }
.chat-composer { padding:8px 9px 10px; }
#modal-wrap { padding:14px 10px; }
.dropzone { padding:18px 14px; }
#toast { left:12px; right:12px; bottom:12px; text-align:center; }
pre.configbox { font-size:11.5px; padding:11px; }
.att img { height:52px; max-width:90px; }
}
</style>
</head>
<body>