We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bec18e9 commit cd8018eCopy full SHA for cd8018e
src/llama_stack/providers/remote/inference/passthrough/__init__.py
@@ -4,7 +4,7 @@
4
# This source code is licensed under the terms described in the LICENSE file in
5
# the root directory of this source tree.
6
7
-from pydantic import AnyHttpUrl, BaseModel, ConfigDict, SecretStr
+from pydantic import BaseModel, ConfigDict, HttpUrl, SecretStr
8
9
from .config import PassthroughImplConfig
10
@@ -18,7 +18,7 @@ class PassthroughProviderDataValidator(BaseModel):
18
# Without it, Pydantic drops them before build_forwarded_headers() can read them.
19
model_config = ConfigDict(extra="allow")
20
21
- passthrough_url: AnyHttpUrl | None = None
+ passthrough_url: HttpUrl | None = None
22
passthrough_api_key: SecretStr | None = None
23
24
0 commit comments