chore front end formatting

This commit is contained in:
Samuel 2024-11-19 08:05:04 +00:00
parent 18c092d29e
commit 97d30bc9a0
2 changed files with 3 additions and 5 deletions

View File

@ -1552,7 +1552,7 @@
localStorage.token, localStorage.token,
{ {
stream: stream, stream: stream,
native_tool_call : native_tool_call, native_tool_call: native_tool_call,
model: model.id, model: model.id,
...(stream && (model.info?.meta?.capabilities?.usage ?? false) ...(stream && (model.info?.meta?.capabilities?.usage ?? false)
? { ? {

View File

@ -89,8 +89,8 @@
<button <button
class="p-1 px-3 text-xs flex rounded transition" class="p-1 px-3 text-xs flex rounded transition"
on:click={() => { on:click={() => {
params.native_tool_call= params.native_tool_call =
(params?.native_tool_call?? null) === null (params?.native_tool_call ?? null) === null
? true ? true
: params.native_tool_call : params.native_tool_call
? false ? false
@ -109,8 +109,6 @@
</div> </div>
</div> </div>
<div class=" py-0.5 w-full justify-between"> <div class=" py-0.5 w-full justify-between">
<Tooltip <Tooltip
content={$i18n.t( content={$i18n.t(