mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-08 23:32:40 +02:00
feat: added missed migration
This commit is contained in:
parent
9429c2b06b
commit
a3f50ebc4d
11 changed files with 126 additions and 38 deletions
|
|
@ -1,9 +1,12 @@
|
|||
import datetime
|
||||
|
||||
|
||||
def _build_language_instruction(language: str | None = None):
|
||||
if language:
|
||||
return f"\n\nIMPORTANT: Please respond in {language} language. All your responses, explanations, and analysis should be written in {language}."
|
||||
return ""
|
||||
|
||||
|
||||
def get_answer_outline_system_prompt(language: str | None = None) -> str:
|
||||
language_instruction = _build_language_instruction(language)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue