Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/google/adk/agents/parallel_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ async def process_an_agent(events_for_one_agent):


class ParallelAgent(BaseAgent):
"""A shell agent that run its sub-agents in parallel in isolated manner.
"""A shell agent that runs its sub-agents in parallel in an isolated manner.

This approach is beneficial for scenarios requiring multiple perspectives or
attempts on a single task, such as:
Expand Down
2 changes: 1 addition & 1 deletion src/google/adk/evaluation/base_eval_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@


class EvaluateConfig(BaseModel):
"""Contains configurations need to run an evaluations."""
"""Contains configurations needed to run evaluations."""

model_config = ConfigDict(
alias_generator=alias_generators.to_camel,
Expand Down
2 changes: 1 addition & 1 deletion src/google/adk/evaluation/eval_sets_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@


class EvalSetsManager(ABC):
"""An interface to manage an Eval Sets."""
"""An interface to manage Eval Sets."""

@abstractmethod
def get_eval_set(self, app_name: str, eval_set_id: str) -> Optional[EvalSet]:
Expand Down
2 changes: 1 addition & 1 deletion src/google/adk/flows/llm_flows/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

"""Handles function callings for LLM flow."""
"""Handles function calling for LLM flow."""

from __future__ import annotations

Expand Down
5 changes: 3 additions & 2 deletions src/google/adk/sessions/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from typing import Any
from __future__ import annotations

from typing import Any

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

APP_PREFIX = "app:"
USER_PREFIX = "user:"
Expand Down
2 changes: 1 addition & 1 deletion src/google/adk/telemetry/tracing.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def _safe_json_serialize(obj) -> str:
def trace_agent_invocation(
span: trace.Span, agent: BaseAgent, ctx: InvocationContext
) -> None:
"""Sets span attributes immedietely available on agent invocation according to OTEL semconv version 1.37.
"""Sets span attributes immediately available on agent invocation according to OTEL semconv version 1.37.

Args:
span: Span on which attributes are set.
Expand Down
2 changes: 1 addition & 1 deletion tests/unittests/runners/test_pause_invocation.py
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ def test_pause_on_long_running_function_call(


class TestPauseInvocationWithWithTransferLoop(BasePauseInvocationTest):
"""Tests the pausing the invocation when the agent transfer forms a loop."""
"""Tests pausing the invocation when the agent transfer forms a loop."""

@pytest.fixture
def agent(self) -> LlmAgent:
Expand Down
Loading