Skip to content

Commit e9e961a

Browse files
author
Tomas Meszaros
committed
Remove resume-specific docs from create-side SessionConfig
Addresses review feedback on PR #1323: the create-session API docs for enable_on_demand_instruction_discovery / EnableOnDemandInstructionDiscovery should not include resume-specific behavior. That note already lives on the resume-side configs (Python resume_session and Go ResumeSessionConfig).
1 parent 1e5a3b8 commit e9e961a

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

go/types.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -610,8 +610,6 @@ type SessionConfig struct {
610610
// repositories or workspaces; discovered instruction files may be stored or
611611
// replayed with session history. When nil (the default), the option is
612612
// omitted from the wire payload and the runtime treats the setting as off.
613-
// For resumed sessions, omitting this option leaves the existing session
614-
// setting unchanged; pass Bool(false) to disable future on-demand discovery.
615613
EnableOnDemandInstructionDiscovery *bool
616614
// Tools exposes caller-implemented tools to the CLI. A Tool with a nil Handler
617615
// is declaration-only; the consumer must resolve its calls via pending tool RPCs.

python/copilot/client.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1424,9 +1424,7 @@ async def create_session(
14241424
connected runtime supports and enables on-demand custom instruction
14251425
discovery. Enable only for trusted repositories or workspaces;
14261426
discovered instruction files may be stored or replayed with session
1427-
history. For resumed sessions, omitting this option leaves the
1428-
existing session setting unchanged; pass False to disable future
1429-
on-demand discovery.
1427+
history.
14301428
skill_directories: Directories to search for skills.
14311429
instruction_directories: Additional directories to search for custom
14321430
instruction files.

0 commit comments

Comments
 (0)