pi-codebuddy-sdk 0.1.6 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/context.ts +3 -5
package/package.json
CHANGED
package/src/context.ts
CHANGED
|
@@ -73,11 +73,9 @@ function buildMessage(context: Context, startIndex: number): string | CbUserMess
|
|
|
73
73
|
function buildHistoryPrefix(context: Context, startIndex: number): string {
|
|
74
74
|
const parts: string[] = [];
|
|
75
75
|
|
|
76
|
-
//
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
parts.push("");
|
|
80
|
-
}
|
|
76
|
+
// ponytail: skip Pi systemPrompt — CodeBuddy uses its own.
|
|
77
|
+
// Pi's prompt references MCP/tool ecosystem not present in CodeBuddy,
|
|
78
|
+
// which confuses the model into calling non-existent tools.
|
|
81
79
|
|
|
82
80
|
const messages = context.messages;
|
|
83
81
|
|