mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-02 22:01:05 +02:00
Merge upstream/main into fix/chat-citations
This commit is contained in:
commit
1cb7633920
8 changed files with 191 additions and 19 deletions
|
|
@ -130,7 +130,9 @@ async def load_llm_bundle(
|
|||
billing_tier="free",
|
||||
)
|
||||
return (
|
||||
SanitizedChatLiteLLM(model=model_string, **litellm_kwargs),
|
||||
SanitizedChatLiteLLM(
|
||||
model=model_string, **{**litellm_kwargs, "streaming": True}
|
||||
),
|
||||
agent_config,
|
||||
None,
|
||||
)
|
||||
|
|
@ -174,7 +176,9 @@ async def load_llm_bundle(
|
|||
billing_tier=str(global_model.get("billing_tier", "free")).lower(),
|
||||
)
|
||||
return (
|
||||
SanitizedChatLiteLLM(model=model_string, **litellm_kwargs),
|
||||
SanitizedChatLiteLLM(
|
||||
model=model_string, **{**litellm_kwargs, "streaming": True}
|
||||
),
|
||||
agent_config,
|
||||
None,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue