mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-07 21:29:13 +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,
|
openai_api_key=api_key,
|
||||||
api_base_url=api_base_url,
|
api_base_url=api_base_url,
|
||||||
deepthought=deepthought,
|
deepthought=deepthought,
|
||||||
model_kwargs={"stop": ["Notes:\n["]},
|
|
||||||
tracer=tracer,
|
tracer=tracer,
|
||||||
):
|
):
|
||||||
if chunk.response:
|
if chunk.response:
|
||||||
|
|||||||
Reference in New Issue
Block a user