Skip to content

Commit 0798a74

Browse files
committed
Fix typo
1 parent 2c6d6e1 commit 0798a74

8 files changed

Lines changed: 8 additions & 8 deletions

File tree

src/google/adk/agents/parallel_agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ async def process_an_agent(events_for_one_agent):
160160

161161

162162
class ParallelAgent(BaseAgent):
163-
"""A shell agent that run its sub-agents in parallel in isolated manner.
163+
"""A shell agent that runs its sub-agents in parallel in an isolated manner.
164164
165165
This approach is beneficial for scenarios requiring multiple perspectives or
166166
attempts on a single task, such as:

src/google/adk/evaluation/base_eval_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232

3333
class EvaluateConfig(BaseModel):
34-
"""Contains configurations need to run an evaluations."""
34+
"""Contains configurations needed to run an evaluation."""
3535

3636
model_config = ConfigDict(
3737
alias_generator=alias_generators.to_camel,

src/google/adk/evaluation/eval_sets_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424

2525
class EvalSetsManager(ABC):
26-
"""An interface to manage an Eval Sets."""
26+
"""An interface to manage Eval Sets."""
2727

2828
@abstractmethod
2929
def get_eval_set(self, app_name: str, eval_set_id: str) -> Optional[EvalSet]:

src/google/adk/evaluation/evaluator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class EvaluationResult(BaseModel):
5454

5555

5656
class Evaluator(ABC):
57-
"""A merics evaluator interface."""
57+
"""A metrics evaluator interface."""
5858

5959
criterion_type: ClassVar[type[BaseCriterion]] = BaseCriterion
6060

src/google/adk/flows/llm_flows/functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
"""Handles function callings for LLM flow."""
15+
"""Handles function calling for LLM flow."""
1616

1717
from __future__ import annotations
1818

src/google/adk/sessions/state.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717

1818
class State:
19-
"""A state dict that maintain the current value and the pending-commit delta."""
19+
"""A state dict that maintains the current value and the pending-commit delta."""
2020

2121
APP_PREFIX = "app:"
2222
USER_PREFIX = "user:"

src/google/adk/telemetry/tracing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def _safe_json_serialize(obj) -> str:
8686
def trace_agent_invocation(
8787
span: trace.Span, agent: BaseAgent, ctx: InvocationContext
8888
) -> None:
89-
"""Sets span attributes immedietely available on agent invocation according to OTEL semconv version 1.37.
89+
"""Sets span attributes immediately available on agent invocation according to OTEL semconv version 1.37.
9090
9191
Args:
9292
span: Span on which attributes are set.

tests/unittests/runners/test_pause_invocation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ def test_pause_on_long_running_function_call(
469469

470470

471471
class TestPauseInvocationWithWithTransferLoop(BasePauseInvocationTest):
472-
"""Tests the pausing the invocation when the agent transfer forms a loop."""
472+
"""Tests pausing the invocation when the agent transfer forms a loop."""
473473

474474
@pytest.fixture
475475
def agent(self) -> LlmAgent:

0 commit comments

Comments
 (0)