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:
Rajesh Kumar
2023-09-12 02:52:53 +05:30
committed by GitHub
parent 31739577c2
commit 737b75d278
2 changed files with 5 additions and 2 deletions

View File

@@ -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: