Skip to content

Commit 0737fe9

Browse files
feat: Return working config registry configurations
Stainless-Generated-From: fafe851cda2bec958cc113405ced9ecd6d1c35e3
1 parent c110358 commit 0737fe9

2 files changed

Lines changed: 16 additions & 2 deletions

File tree

src/kernel/types/config_registry_response.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

3-
from typing import Optional
3+
from typing import List, Optional
44
from typing_extensions import Literal
55

66
from .target import Target
77
from .._models import BaseModel
88
from .analysis import Analysis
9+
from .recommendation import Recommendation
910
from .recommendation_result import RecommendationResult
1011

1112
__all__ = ["ConfigRegistryResponse"]
@@ -23,6 +24,12 @@ class ConfigRegistryResponse(BaseModel):
2324

2425
target: Target
2526

27+
working_configurations: List[Recommendation]
28+
"""
29+
Working configurations for the target, ordered with the recommended
30+
configuration first.
31+
"""
32+
2633
guidance: Optional[str] = None
2734
"""Short advisory markdown to facilitate navigating this target.
2835

src/kernel/types/lookup_response.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

3-
from typing import Optional
3+
from typing import List, Optional
44

55
from .target import Target
66
from .._models import BaseModel
7+
from .recommendation import Recommendation
78
from .recommendation_result import RecommendationResult
89

910
__all__ = ["LookupResponse"]
@@ -15,6 +16,12 @@ class LookupResponse(BaseModel):
1516

1617
target: Target
1718

19+
working_configurations: List[Recommendation]
20+
"""
21+
Working configurations for the target, ordered with the recommended
22+
configuration first.
23+
"""
24+
1825
guidance: Optional[str] = None
1926
"""Short advisory markdown to facilitate navigating this target.
2027

0 commit comments

Comments
 (0)