Skip to content

Commit

Permalink
remove updating infer_path in validator, infer_url does formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mattf committed Sep 17, 2024
1 parent e61a266 commit fe75fd9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion libs/ai-endpoints/langchain_nvidia_ai_endpoints/_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ def _preprocess_args(cls, values: Dict[str, Any]) -> Dict[str, Any]:
values["base_url"] = base_url = urlunparse(
(parsed.scheme, parsed.netloc, "v1", None, None, None)
)
values["infer_path"] = values["infer_path"].format(base_url=base_url)

return values

Expand Down

0 comments on commit fe75fd9

Please sign in to comment.