bloby-bot 0.47.1 → 0.47.2
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/supervisor/index.ts +5 -4
package/package.json
CHANGED
package/supervisor/index.ts
CHANGED
|
@@ -1348,10 +1348,11 @@ ${!connected ? `<script>
|
|
|
1348
1348
|
log.info(`[bloby] provider=${freshConfig.ai.provider}, model=${freshConfig.ai.model}`);
|
|
1349
1349
|
|
|
1350
1350
|
// Route through the agent harness for any provider that has one
|
|
1351
|
-
// (Anthropic → Claude SDK, OpenAI → Codex app-server
|
|
1352
|
-
// in bloby-agent.ts picks the right harness;
|
|
1353
|
-
//
|
|
1354
|
-
|
|
1351
|
+
// (Anthropic → Claude SDK, OpenAI → Codex app-server, Bloby/pi → pi
|
|
1352
|
+
// harness). The dispatcher in bloby-agent.ts picks the right harness;
|
|
1353
|
+
// credentials live next to each harness (claude.json, codex auth.json,
|
|
1354
|
+
// pi-auth.json) — not in config.ai.apiKey.
|
|
1355
|
+
if (freshConfig.ai.provider === 'anthropic' || freshConfig.ai.provider === 'openai' || freshConfig.ai.provider === 'pi') {
|
|
1355
1356
|
// Server-side persistence: create or reuse DB conversation, save user message
|
|
1356
1357
|
(async () => {
|
|
1357
1358
|
// Save attachments to disk (before try so it's accessible in startBlobyAgentQuery below)
|