Skip to content

common_types

Class info

Classes

Name Children Inherits
ModelProtocol
llmling_agent.common_types
Protocol for model objects.

    🛈 DocStrings

    QueueStrategy module-attribute

    QueueStrategy = Literal['concat', 'latest', 'buffer']
    

    The strategy for handling multiple tool calls when a final result is found.

    • 'early': Stop processing other tool calls once a final result is found
    • 'exhaustive': Process all tool calls even after finding a final result

    ModelProtocol

    Bases: Protocol

    Protocol for model objects.

    Source code in src/llmling_agent/common_types.py
    11
    12
    13
    14
    15
    16
    @runtime_checkable
    class ModelProtocol(Protocol):
        """Protocol for model objects."""
    
        @property
        def model_name(self) -> str: ...