mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-26 19:04:23 +00:00
fix(web): support static asset routing under Bun.serve and fix test types
This commit is contained in:
@@ -204,6 +204,7 @@ describe('AgentService', () => {
|
||||
avatar: avatarPresigned,
|
||||
providerId: provider.id,
|
||||
modelId: model.id,
|
||||
thinkingLevel: 'medium',
|
||||
})
|
||||
|
||||
expect(agent?.id).toBeDefined()
|
||||
@@ -224,6 +225,7 @@ describe('AgentService', () => {
|
||||
avatar: avatarPresigned,
|
||||
providerId: agent.providerId!,
|
||||
modelId: agent.modelId!,
|
||||
thinkingLevel: 'medium',
|
||||
})
|
||||
|
||||
expect(updated.user.image).toBe('files/01JK23456789ABCDEF01234567')
|
||||
|
||||
Reference in New Issue
Block a user