mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-10 07:19:02 +08:00
style: update pinned apps style and refactor config model
This commit is contained in:
parent
dff04187be
commit
74740d7fcc
@ -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'] = [
|
||||||
{
|
{
|
||||||
|
|||||||
@ -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'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user