Attach formatted agent names to the messages passed to and from a language model.
This is useful for making a message history with multiple agents more coherent.
withAgentName(model: LanguageModelLike, agentNameMode: "inline"): LanguageModelLike| Name | Type | Description |
|---|---|---|
model* | LanguageModelLike | Language model to add agent name formatting to |
agentNameMode* | "inline" | How to expose the agent name to the LLM
|