transformAfterLlmCall

Transform LLM response before adding to history. Return modified message.