mirror of
https://github.com/karl0ss/ai_image_frame_server.git
synced 2025-06-07 19:15:08 +01:00
remove any preceeding text on the ollama prompt
This commit is contained in:
parent
2c9429d640
commit
c726d23707
@ -67,4 +67,4 @@ def create_prompt_on_openwebui(prompt: str) -> str:
|
||||
# )
|
||||
# prompt = response["choices"][0]["message"]["content"].strip('"')
|
||||
logging.debug(prompt)
|
||||
return prompt
|
||||
return prompt.split(": ")[-1]
|
Loading…
x
Reference in New Issue
Block a user