You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* docs: fix EnableConfigDiscovery summary to accurately describe agent discovery behavior
The previous documentation incorrectly stated that custom instruction files
are always loaded from the working directory regardless of the
EnableConfigDiscovery setting. In practice, agent files (e.g. .github/agents/)
are only discovered when EnableConfigDiscovery is true.
Update the summary to clarify that:
- Agent discovery is gated by EnableConfigDiscovery
- Use SkipCustomInstructions to independently control instruction file loading
Fixes#1887
* docs: standardize EnableConfigDiscovery description across all SDKs
Replace the per-language doc comments for EnableConfigDiscovery (and its
ResumeSessionConfig equivalent) with a single consistent description:
'Enables runtime discovery of supported configuration. Explicitly
supplied configuration takes precedence over discovered values.'
The previous wording varied by language and, in .NET/Go/Node.js/Python,
incorrectly claimed that custom instruction files are always loaded
regardless of this setting (#1887) while omitting that agent discovery
is gated by it. Rather than special-casing that one clarification in a
single language, this applies one accurate, artifact-agnostic
description everywhere EnableConfigDiscovery is documented:
dotnet/src/Types.cs, go/types.go (SessionConfig + ResumeSessionConfig),
nodejs/src/types.ts, python/copilot/client.py (create + resume),
rust/src/types.rs (fields + builder methods on both configs), and
java SessionConfig.java/ResumeSessionConfig.java setters.
Files under src/generated/ (Node.js, Java, .NET, Rust, Go rpc/zrpc.go)
are auto-generated from api.schema.json upstream and are intentionally
left untouched.
Fixes#1887
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: Steve Sanderson <SteveSandersonMS@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments