mirror of
https://github.com/lobehub/lobehub
synced 2026-04-21 17:47:27 +00:00
🐛 fix: fix agent tags (#3015)
* 🐛 fix: fix agent tags * 📸 test: update snapshot
This commit is contained in:
parent
b5517c763e
commit
01e965be0d
3 changed files with 2 additions and 22 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -60,3 +60,4 @@ sitemap*.xml
|
|||
robots.txt
|
||||
|
||||
*.patch
|
||||
*.pdf
|
||||
|
|
|
|||
|
|
@ -246,6 +246,7 @@ export class SessionModel {
|
|||
avatar: agent?.avatar ?? avatar ?? undefined,
|
||||
backgroundColor: agent?.backgroundColor ?? backgroundColor ?? undefined,
|
||||
description: agent?.description ?? description ?? undefined,
|
||||
tags: agent?.tags ?? undefined,
|
||||
title: agent?.title ?? title ?? undefined,
|
||||
},
|
||||
model: agent?.model,
|
||||
|
|
|
|||
|
|
@ -1,27 +1,5 @@
|
|||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
||||
|
||||
exports[`configRouter > getGlobalConfig > Model Provider env > CUSTOM_MODELS > custom deletion, addition, and renaming of models 1`] = `
|
||||
[
|
||||
{
|
||||
"displayName": "llama",
|
||||
"enabled": true,
|
||||
"id": "llama",
|
||||
},
|
||||
{
|
||||
"displayName": "claude-2",
|
||||
"enabled": true,
|
||||
"id": "claude-2",
|
||||
},
|
||||
{
|
||||
"displayName": "gpt-4-32k",
|
||||
"enabled": true,
|
||||
"functionCall": true,
|
||||
"id": "gpt-4-0125-preview",
|
||||
"tokens": 128000,
|
||||
},
|
||||
]
|
||||
`;
|
||||
|
||||
exports[`configRouter > getGlobalConfig > Model Provider env > OPENAI_MODEL_LIST > custom deletion, addition, and renaming of models 1`] = `
|
||||
{
|
||||
"enabled": true,
|
||||
|
|
|
|||
Loading…
Reference in a new issue