Skip to content

Commit 9903328

Browse files
authored
fixed syntax error
1 parent 467b594 commit 9903328

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/L_Llm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def initLlm():
2222
python.subscribe(llm.getName(), "publishText", "onFilterText")
2323
config = llm.getConfig()
2424
if config.url == "null" or config.url == "http://localhost:11434" or config.url == "http://localhost:11434/v1/chat/completions":
25-
config.url = "http://localhost:11434/api/generate"
25+
config.url = "http://localhost:11434/api/generate"
2626
runtime.warn('url is set by default to a localhost')
2727
if setSystem == "You are a helpful robot.":
2828
if runtime.getLocale().getTag() == en:

0 commit comments

Comments
 (0)