mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-24 15:09:20 +00:00
feat(agent): add teamId foreign key to agent table and refactor service queries
This commit is contained in:
@@ -40,6 +40,7 @@ describe('DatabaseSessionStorage', () => {
|
||||
const agent = await prisma.agent.create({
|
||||
data: {
|
||||
id: user.id,
|
||||
teamId: team.id,
|
||||
type: 'chat',
|
||||
providerId: provider.id,
|
||||
modelId: model.id,
|
||||
|
||||
Reference in New Issue
Block a user