John6666 commited on
Commit
ee4073b
·
verified ·
1 Parent(s): 6c4650e

Upload llmdolphin.py

Browse files
Files changed (1) hide show
  1. llmdolphin.py +1 -1
llmdolphin.py CHANGED
@@ -1278,7 +1278,7 @@ def get_dolphin_sysprompt(state: dict={}):
1278
  dolphin_sysprompt_mode = get_state(state, "dolphin_sysprompt_mode")
1279
  dolphin_output_language = get_state(state, "dolphin_output_language")
1280
  prompt = re.sub('<LANGUAGE>', dolphin_output_language if dolphin_output_language else llm_languages[0],
1281
- dolphin_system_prompt.get(dolphin_sysprompt_mode, list(dolphin_system_prompt.keys())[0]))
1282
  return prompt
1283
 
1284
 
 
1278
  dolphin_sysprompt_mode = get_state(state, "dolphin_sysprompt_mode")
1279
  dolphin_output_language = get_state(state, "dolphin_output_language")
1280
  prompt = re.sub('<LANGUAGE>', dolphin_output_language if dolphin_output_language else llm_languages[0],
1281
+ dolphin_system_prompt.get(dolphin_sysprompt_mode, dolphin_system_prompt[list(dolphin_system_prompt.keys())[0]]))
1282
  return prompt
1283
 
1284