Configure embedding servers and add a Transcript Agent (#561)

* feat: configure embedding servers and transcript agents

* fix(agents): guide Transcript Agent setup

* fix(agents): require a configured embedding server URL

* docs: consolidate embedding and transcript changelog entry

* fix(webui): stabilize transcript menu interactions

* test(e2e): verify transcript scroll interruption by position

* test(webui): check transcript following without frame timing races
This commit is contained in:
Yiling-J
2026-12-05 10:17:36 +08:00
committed by GitHub
parent 72a7f68c92
commit 6c74413375
66 changed files with 2021 additions and 325 deletions
+11 -4
View File
@@ -211,10 +211,14 @@ describe('Workflow E2E - agentEmbeddingMedia', () => {
])(
'indexes an entire video with %s and %s',
async (embeddingProvider, fullSpriteState) => {
vi.stubEnv('EMBEDDING_PROVIDER', embeddingProvider)
const useSavedUrl =
embeddingProvider === 'gemma-embedding-2-openai' &&
fullSpriteState === 'available full sprite'
const endpoint = 'https://embedding.example.com/v1/embeddings'
vi.stubEnv('EMBEDDING_PROVIDER', useSavedUrl ? undefined : embeddingProvider)
vi.stubEnv('GEMMA_EMBEDDING_OPENAI_BASE_URL', undefined)
if (embeddingProvider === 'gemma-embedding-2-openai') {
const endpoint = 'https://embedding.example.com/v1/embeddings'
vi.stubEnv('GEMMA_EMBEDDING_OPENAI_BASE_URL', endpoint)
if (!useSavedUrl) vi.stubEnv('GEMMA_EMBEDDING_OPENAI_BASE_URL', endpoint)
const fetch = globalThis.fetch
vi.spyOn(globalThis, 'fetch').mockImplementation((input, init) =>
input === endpoint
@@ -226,7 +230,10 @@ describe('Workflow E2E - agentEmbeddingMedia', () => {
}
// 1. Seed Database
const team = await prisma.team.create({
data: { name: 'E2E Video Embedding Team' },
data: {
name: 'E2E Video Embedding Team',
settings: useSavedUrl ? { embeddingServer: { url: endpoint } } : undefined,
},
})
const project = await prisma.project.create({