bloby-bot 0.33.1 → 0.33.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 -2
package/package.json
CHANGED
package/supervisor/index.ts
CHANGED
|
@@ -1305,8 +1305,11 @@ ${!connected ? `<script>
|
|
|
1305
1305
|
|
|
1306
1306
|
log.info(`[bloby] provider=${freshConfig.ai.provider}, model=${freshConfig.ai.model}`);
|
|
1307
1307
|
|
|
1308
|
-
// Route
|
|
1309
|
-
|
|
1308
|
+
// Route through the agent harness for any provider that has one
|
|
1309
|
+
// (Anthropic → Claude SDK, OpenAI → Codex app-server). The dispatcher
|
|
1310
|
+
// in bloby-agent.ts picks the right harness; both use OAuth tokens
|
|
1311
|
+
// from their own credentials files, not config.ai.apiKey.
|
|
1312
|
+
if (freshConfig.ai.provider === 'anthropic' || freshConfig.ai.provider === 'openai') {
|
|
1310
1313
|
// Server-side persistence: create or reuse DB conversation, save user message
|
|
1311
1314
|
(async () => {
|
|
1312
1315
|
// Save attachments to disk (before try so it's accessible in startBlobyAgentQuery below)
|