style: update pinned apps style and refactor config model

This commit is contained in:
kangfenmao 2025-01-13 17:56:16 +08:00
parent dff04187be
commit 74740d7fcc
2 changed files with 9 additions and 5 deletions

View File

@ -133,7 +133,7 @@ const PinnedApps: FC = () => {
const { t } = useTranslation() const { t } = useTranslation()
return ( return (
<DragableList list={pinned} onUpdate={updatePinnedMinapps}> <DragableList list={pinned} onUpdate={updatePinnedMinapps} listStyle={{ marginBottom: 5 }}>
{(app) => { {(app) => {
const menuItems: MenuProps['items'] = [ const menuItems: MenuProps['items'] = [
{ {

View File

@ -1101,10 +1101,14 @@ export function getOpenAIWebSearchParams(model: Model): Record<string, any> {
} }
return { return {
type: 'function', tools: [
function: { {
name: 'googleSearch' type: 'function',
} function: {
name: 'googleSearch'
}
}
]
} }
} }