Skip to content

Commit 2f8a570

Browse files
committed
make url matching more broad
1 parent 42d5ecf commit 2f8a570

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

eval_protocol/pytest/tracing_utils.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,7 @@ def build_init_request(
122122

123123
# Build final model base URL with tracing metadata
124124
final_model_base_url = model_base_url
125-
if model_base_url and (
126-
model_base_url.startswith("https://tracing.fireworks.ai") or model_base_url.startswith("http://localhost")
127-
):
125+
if model_base_url and ("tracing.fireworks.ai" in model_base_url or model_base_url.startswith("http://localhost")):
128126
final_model_base_url = build_fireworks_tracing_url(model_base_url, meta, completion_params_base_url)
129127

130128
# Extract API key from environment or completion_params

0 commit comments

Comments
 (0)