Class ScriptedLlmOperations

  • All Implemented Interfaces:
    com.embabel.agent.spi.LlmOperations

    
    public final class ScriptedLlmOperations
     implements LlmOperations
                        

    A scripted LLM operations implementation for testing.

    This allows tests to script exact sequences of:

    • Tool calls (with specific arguments)

    • Text responses

    • Object creation

    The scripted operations track what was called for verification.