fix(web): support static asset routing under Bun.serve and fix test types

This commit is contained in:
yiling
2026-06-03 23:30:33 +08:00
parent cf2e6907ba
commit 05f6069af7
2 changed files with 23 additions and 9 deletions
+2
View File
@@ -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')