mirror of
https://github.com/open-webui/pipelines
synced 2025-05-11 16:10:45 +00:00
Fix method call typo
This commit is contained in:
parent
ba7292227b
commit
3cbb0a289a
@ -99,7 +99,7 @@ class Pipeline:
|
|||||||
if body.get("title", False): # If chat title generation is requested
|
if body.get("title", False): # If chat title generation is requested
|
||||||
contents = [Content(role="user", parts=[Part.from_text(user_message)])]
|
contents = [Content(role="user", parts=[Part.from_text(user_message)])]
|
||||||
else:
|
else:
|
||||||
contents = self._build_conversation_history(messages)
|
contents = self.build_conversation_history(messages)
|
||||||
|
|
||||||
generation_config = GenerationConfig(
|
generation_config = GenerationConfig(
|
||||||
temperature=body.get("temperature", 0.7),
|
temperature=body.get("temperature", 0.7),
|
||||||
|
Loading…
Reference in New Issue
Block a user