with State Aware System Prompt
fun withStateAwareSystemPrompt(creator: (ExecutingOperationContext, String, S) -> String): StateMachineTool<S>
Set a custom system prompt creator that also receives the current state. This is useful for state machines where the prompt needs to reflect the current state.