mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-09 15:03:21 +00:00
Latest version of HazyResearch/manifest doesn't support accessing "client" directly (#10389)
**Description:** The latest version of HazyResearch/manifest doesn't support accessing the "client" directly. The latest version supports connection pools and a client has to be requested from the client pool. **Issue:** No matching issue was found **Dependencies:** The manifest.ipynb file in docs/extras/integrations/llms need to be updated **Twitter handle:** @hrk_cbe
This commit is contained in:
@@ -34,7 +34,10 @@ class ManifestWrapper(LLM):
|
||||
@property
|
||||
def _identifying_params(self) -> Mapping[str, Any]:
|
||||
kwargs = self.llm_kwargs or {}
|
||||
return {**self.client.client.get_model_params(), **kwargs}
|
||||
return {
|
||||
**self.client.client_pool.get_current_client().get_model_params(),
|
||||
**kwargs,
|
||||
}
|
||||
|
||||
@property
|
||||
def _llm_type(self) -> str:
|
||||
|
Reference in New Issue
Block a user