AgentContextAttribute
Namespace: E2E
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Method, AllowMultiple = false, Inherited = false)]public sealed class AgentContextAttribute : AttributeAppends facts only this test knows to the context of every agent, after the agent’s own context. Upstream’s
agentContext option of test and describe. Layers join outer to inner, one per line. Keep instructions
out of it: it reaches the judges too.
Inheritance: object → Attribute
Constructors
Section titled “Constructors”AgentContextAttribute(string)
Section titled “AgentContextAttribute(string)”public AgentContextAttribute(string text)Appends facts only this test knows to the context of every agent, after the agent’s own context. Upstream’s
agentContext option of test and describe. Layers join outer to inner, one per line. Keep instructions
out of it: it reaches the judges too.
Parameters
| Name | Type | Description |
|---|---|---|
text |
string |
Properties
Section titled “Properties”public string Text { get; }The text to append.
Value: string