@bivy/bivy 0.16.4-staging.1 → 0.16.4-staging.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/dist/server.js +5 -0
- package/package.json +1 -1
package/dist/server.js
CHANGED
|
@@ -9135,6 +9135,11 @@ app.get("/api/commands", (_req, res) => {
|
|
|
9135
9135
|
res.json(publicCommands());
|
|
9136
9136
|
});
|
|
9137
9137
|
function publicModel(model, current) {
|
|
9138
|
+
// A newly-created runtime is allowed to have no selected model yet (Claude
|
|
9139
|
+
// Code chooses its default when the first query starts). Keep session
|
|
9140
|
+
// creation/model events nullable instead of dereferencing that absence.
|
|
9141
|
+
if (!model)
|
|
9142
|
+
return null;
|
|
9138
9143
|
return {
|
|
9139
9144
|
provider: model.provider,
|
|
9140
9145
|
id: model.id,
|
package/package.json
CHANGED