Skip to content

Commit bd39949

Browse files
MackinnonBuckCopilot
authored andcommitted
Fix lint: prettier formatting, Python import order and line length
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 7df8549 commit bd39949

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

nodejs/src/types.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,10 @@ export const SYSTEM_PROMPT_SECTIONS: Record<SystemPromptSection, { description:
299299
safety: { description: "Environment limitations, prohibited actions, security policies" },
300300
tool_instructions: { description: "Per-tool usage instructions" },
301301
custom_instructions: { description: "Repository and organization custom instructions" },
302-
last_instructions: { description: "End-of-prompt instructions: parallel tool calling, persistence, task completion" },
302+
last_instructions: {
303+
description:
304+
"End-of-prompt instructions: parallel tool calling, persistence, task completion",
305+
},
303306
};
304307

305308
/**

python/copilot/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
PingResponse,
3232
ProviderConfig,
3333
ResumeSessionConfig,
34+
SYSTEM_PROMPT_SECTIONS,
3435
SectionOverride,
3536
SelectionAttachment,
3637
SessionConfig,
@@ -45,7 +46,6 @@
4546
SystemMessageCustomizeConfig,
4647
SystemMessageReplaceConfig,
4748
SystemPromptSection,
48-
SYSTEM_PROMPT_SECTIONS,
4949
TelemetryConfig,
5050
Tool,
5151
ToolHandler,
@@ -89,13 +89,13 @@
8989
"SessionListFilter",
9090
"SessionMetadata",
9191
"StopError",
92+
"SYSTEM_PROMPT_SECTIONS",
9293
"SubprocessConfig",
9394
"SystemMessageAppendConfig",
9495
"SystemMessageConfig",
9596
"SystemMessageCustomizeConfig",
9697
"SystemMessageReplaceConfig",
9798
"SystemPromptSection",
98-
"SYSTEM_PROMPT_SECTIONS",
9999
"TelemetryConfig",
100100
"Tool",
101101
"ToolHandler",

python/copilot/types.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,9 @@ class Tool:
241241
"safety": "Environment limitations, prohibited actions, security policies",
242242
"tool_instructions": "Per-tool usage instructions",
243243
"custom_instructions": "Repository and organization custom instructions",
244-
"last_instructions": "End-of-prompt instructions: parallel tool calling, persistence, task completion",
244+
"last_instructions": (
245+
"End-of-prompt instructions: parallel tool calling, persistence, task completion"
246+
),
245247
}
246248

247249

0 commit comments

Comments
 (0)