mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-09-24 16:02:55 +08:00
chore(cli): mark editorContext param as kilocode_change in system prompt
Add missing kilocode_change marker to the editorContext param in the environment Effect.fn implementation; the interface signature already had a marker but the implementation didn't.
This commit is contained in:
@@ -92,7 +92,10 @@ export const layer = Layer.effect(
|
||||
const skill = yield* Skill.Service
|
||||
|
||||
return Service.of({
|
||||
environment: Effect.fn("SystemPrompt.environment")(function* (model: Provider.Model, editorContext?: EditorContext) {
|
||||
environment: Effect.fn("SystemPrompt.environment")(function* (
|
||||
model: Provider.Model,
|
||||
editorContext?: EditorContext, // kilocode_change
|
||||
) {
|
||||
const ctx = yield* InstanceState.context
|
||||
return [
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user