fixed Chatformat
Browse files
app.py
CHANGED
@@ -360,7 +360,7 @@ class BSIChatbot:
|
|
360 |
match = re.findall(pattern, final_prompt)
|
361 |
self.images=match
|
362 |
|
363 |
-
stream = llm_client.chat.completions.create(
|
364 |
messages=final_prompt,
|
365 |
model=llm_remote_model,
|
366 |
stream=True
|
|
|
360 |
match = re.findall(pattern, final_prompt)
|
361 |
self.images=match
|
362 |
|
363 |
+
stream = self.llm_client.chat.completions.create(
|
364 |
messages=final_prompt,
|
365 |
model=llm_remote_model,
|
366 |
stream=True
|