Skip to content

Commit 5f1e260

Browse files
committed
update with_problem_statement and with_additional_context docstrings
1 parent e2c0b5c commit 5f1e260

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/runloop_api_client/sdk/async_scenario_builder.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def with_working_directory(self, directory: str) -> Self:
121121
return self
122122

123123
def with_problem_statement(self, statement: str) -> Self:
124-
"""Set the problem statement for the scenario.
124+
"""Set the problem statement for the scenario; this will be provided as input context to the agent.
125125
126126
:param statement: Problem statement text
127127
:type statement: str
@@ -133,6 +133,7 @@ def with_problem_statement(self, statement: str) -> Self:
133133

134134
def with_additional_context(self, context: object) -> Self:
135135
"""Set additional structured context for the scenario.
136+
This can be used to provide additional information to the agent, such as hints, examples, or other relevant information.
136137
137138
:param context: Additional context (JSON-serializable)
138139
:type context: object

src/runloop_api_client/sdk/scenario_builder.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def with_working_directory(self, directory: str) -> Self:
121121
return self
122122

123123
def with_problem_statement(self, statement: str) -> Self:
124-
"""Set the problem statement for the scenario.
124+
"""Set the problem statement for the scenario; this will be provided as input context to the agent.
125125
126126
:param statement: Problem statement text
127127
:type statement: str
@@ -133,6 +133,7 @@ def with_problem_statement(self, statement: str) -> Self:
133133

134134
def with_additional_context(self, context: object) -> Self:
135135
"""Set additional structured context for the scenario.
136+
This can be used to provide additional information to the agent, such as hints, examples, or other relevant information.
136137
137138
:param context: Additional context (JSON-serializable)
138139
:type context: object

0 commit comments

Comments
 (0)