forked from phoenix/litellm-mirror
(feat) show POST request for HF embeddings
This commit is contained in:
parent
4316477276
commit
20b5505476
1 changed files with 1 additions and 1 deletions
|
@ -542,7 +542,7 @@ class Huggingface(BaseLLM):
|
||||||
logging_obj.pre_call(
|
logging_obj.pre_call(
|
||||||
input=input,
|
input=input,
|
||||||
api_key=api_key,
|
api_key=api_key,
|
||||||
additional_args={"complete_input_dict": data},
|
additional_args={"complete_input_dict": data, "headers": headers, "api_base": embed_url},
|
||||||
)
|
)
|
||||||
## COMPLETION CALL
|
## COMPLETION CALL
|
||||||
response = requests.post(
|
response = requests.post(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue