Skip to content

Commit 82a273b

Browse files
committed
remove the file url
1 parent fbe5d5b commit 82a273b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

api/ai/ai_service.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,11 @@ def build_workflow_request(db_session, assistant_id, target_language, prompt, mo
2424
assistant_source_type=assistant_detail.source_type,
2525
assistant_system_prompt=assistant_detail.system_prompt,
2626
contexts=[
27-
ContextRequest(content=context.content, file_url=context.file_url)
27+
ContextRequest(
28+
content=context.content,
29+
pecha_title=context.pecha_title,
30+
pecha_text_id=context.pecha_text_id
31+
)
2832
for context in assistant_detail.contexts
2933
],
3034
target_language=target_language,

0 commit comments

Comments
 (0)