mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-17 18:23:59 +00:00
Fixes #5651 Small typo in wrapper code. Note the `model_type` parameter is currently unused by GPT4All. https://github.com/hwchase17/langchain/issues/5651 #### Who can review?
This commit is contained in:
parent
6a3ceaa377
commit
8fea0529c1
@ -153,7 +153,7 @@ class GPT4All(LLM):
|
||||
if values["n_threads"] is not None:
|
||||
# set n_threads
|
||||
values["client"].model.set_thread_count(values["n_threads"])
|
||||
values["backend"] = values["client"].model.model_type
|
||||
values["backend"] = values["client"].model_type
|
||||
|
||||
return values
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user