Skip to content
Merged
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
9 changes: 5 additions & 4 deletions src/strands_compose/manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
from __future__ import annotations

import logging
from collections.abc import Mapping
from typing import TYPE_CHECKING

from strands import Agent
Expand Down Expand Up @@ -237,8 +238,8 @@ def _orchestration_descriptor(name: str, orch: Node) -> OrchestrationDescriptor:

def _resolve_entry(
entry: Node,
agents: dict[str, Agent],
orchestrators: dict[str, Node],
agents: Mapping[str, Agent],
orchestrators: Mapping[str, Node],
) -> EntryDescriptor:
"""Reverse-lookup *entry* in *agents* then *orchestrators* by object identity.

Expand All @@ -260,8 +261,8 @@ def _resolve_entry(


def build_manifest(
agents: dict[str, Agent],
orchestrators: dict[str, Node],
agents: Mapping[str, Agent],
orchestrators: Mapping[str, Node],
entry: Node,
) -> SessionManifest:
"""Build a :class:`SessionManifest` from resolved runtime objects.
Expand Down
Loading