(ctx context.Context, a *agent.Agent)
| 212 | } |
| 213 | |
| 214 | func agentModelLabel(ctx context.Context, a *agent.Agent) string { |
| 215 | if a == nil { |
| 216 | return "" |
| 217 | } |
| 218 | if a.HasHarness() { |
| 219 | return codingharness.Label(a.Harness()) |
| 220 | } |
| 221 | return getAgentModelID(ctx, a).String() |
| 222 | } |
| 223 | |
| 224 | func traceAttributesForHarness(sess *session.Session, a *agent.Agent) []attribute.KeyValue { |
| 225 | return []attribute.KeyValue{ |
no test coverage detected