We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b40a7d commit e138ecfCopy full SHA for e138ecf
weave/flow/code_scorer.py
@@ -31,6 +31,19 @@ class CodeScorer(Scorer):
31
default=None,
32
description="Pip requirements to install in the sandbox",
33
)
34
+ use_pip: bool = Field(
35
+ default=False,
36
+ description="Use pip instead of uv for dependency resolution",
37
+ )
38
+ secrets: list[str] | dict[str, str] | None = Field(
39
+ default=None,
40
+ description=(
41
+ "Secrets to inject as environment variables in the sandbox. "
42
+ "Pass a list of secret names (injected as-is), "
43
+ 'the string "*" in a list to inject all entity secrets, '
44
+ "or a dict mapping secret names to env var names."
45
+ ),
46
47
48
@model_validator(mode="after")
49
def validate_environment(self) -> CodeScorer:
0 commit comments