feat(server): update trascript endpoint (#11196)

This commit is contained in:
darkskygit
2025-03-27 10:18:49 +00:00
parent 3303684056
commit 3b9d64d74d
17 changed files with 195 additions and 70 deletions
@@ -385,6 +385,7 @@ const actions = [
{
promptName: [
'Summary',
'Summary as title',
'Explain this',
'Write an article about this',
'Write a twitter about this',
@@ -86,7 +86,11 @@ test('should update job', async t => {
type: AiJobType.transcription,
});
const hasJob = await t.context.copilotJob.has(workspace.id, 'blob-id');
const hasJob = await t.context.copilotJob.has(
user.id,
workspace.id,
'blob-id'
);
t.true(hasJob);
const job = await t.context.copilotJob.get(jobId);