style: update pinned apps style and refactor config model

This commit is contained in:
kangfenmao 2025-01-13 17:56:16 +08:00
parent 348d0fb06a
commit 64e3da4225
2 changed files with 9 additions and 5 deletions

View File

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

View File

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