Skip to content

AgentContextAttribute

Namespace: E2E

[AttributeUsage(AttributeTargets.Class|AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
public sealed class AgentContextAttribute : Attribute

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.

Inheritance: object → Attribute

View source

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

View source

public string Text { get; }

The text to append.

Value: string

View source