mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 13:18:18 +00:00
Remove old "Notes" stop keyword for openai api based models
They were when passing notes context to dumber models. Not required for most models now.
This commit is contained in:
@@ -275,7 +275,6 @@ async def converse_openai(
|
||||
openai_api_key=api_key,
|
||||
api_base_url=api_base_url,
|
||||
deepthought=deepthought,
|
||||
model_kwargs={"stop": ["Notes:\n["]},
|
||||
tracer=tracer,
|
||||
):
|
||||
if chunk.response:
|
||||
|
||||
Reference in New Issue
Block a user