@stevezhou/sisu 0.3.9 → 0.3.10
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/dist/runtime/launch.js +4 -0
- package/package.json +1 -1
package/dist/runtime/launch.js
CHANGED
|
@@ -86,6 +86,9 @@ function writeSisuGrokConfig() {
|
|
|
86
86
|
'[endpoints]',
|
|
87
87
|
`xai_api_base_url = "${runtimeBase}"`,
|
|
88
88
|
'',
|
|
89
|
+
'[agent]',
|
|
90
|
+
'system_prompt_label = "SiSu"',
|
|
91
|
+
'',
|
|
89
92
|
].join('\n');
|
|
90
93
|
const existing = fs_1.default.existsSync(file) ? fs_1.default.readFileSync(file, 'utf8') : '';
|
|
91
94
|
if (!existing || existing.includes('sisu-managed grok-build')) {
|
|
@@ -214,6 +217,7 @@ function sisuGrokBuildEnv() {
|
|
|
214
217
|
SISU_ACCOUNT_PLAN: auth?.plan_code || '',
|
|
215
218
|
SISU_API_BASE: apiBase,
|
|
216
219
|
SISU_CLIENT_VERSION: client_1.SISU_CLIENT_VERSION,
|
|
220
|
+
GROK_SYSTEM_PROMPT_LABEL: 'SiSu',
|
|
217
221
|
SISU_CONVERSATION_ID: (0, store_1.ensureConversationId)(),
|
|
218
222
|
GROK_XAI_API_BASE_URL: runtime,
|
|
219
223
|
XAI_API_BASE_URL: runtime,
|