mirror of
https://github.com/microsoft/graphrag.git
synced 2025-07-04 15:41:17 +00:00
Fix/drift search reduce (#1948)
* Fix Reduce Response for non streaming calls * Semver
This commit is contained in:
parent
7fba9522d4
commit
f1e2041f07
@ -0,0 +1,4 @@
|
||||
{
|
||||
"type": "patch",
|
||||
"description": "Fix Drift Reduce Response for non streaming calls"
|
||||
}
|
@ -386,7 +386,7 @@ class DRIFTSearch(BaseSearch[DRIFTSearchContextBuilder]):
|
||||
model_response = await self.model.achat(
|
||||
prompt=query,
|
||||
history=search_messages,
|
||||
model_parameters=llm_kwargs,
|
||||
model_parameters=llm_kwargs.get("model_params", {}),
|
||||
)
|
||||
|
||||
reduced_response = model_response.output.content
|
||||
|
Loading…
x
Reference in New Issue
Block a user