Repository navigation
v2.0.2
2.0.1 was tagged but never published (its publish run failed on a lint error); 2.0.2 contains its fixes.
Fixed
- Depends on
@mp-consulting/homebridge-ai-core^2.0.2, which fixes:- "Suggest rooms & names" failed on large installations. All accessories went into one request, and with a few dozen of them the reply ran past the output limit (2048 tokens by default); the cut-off JSON failed validation and the call ended in an error.
suggestOrganizationnow sends the accessories in batches sized to the output limit and merges the replies (rooms with the same name are combined), and it sends short aliases (a1,a2, …) instead of the long HomeKit uniqueIds, mapping them back afterwards: far fewer tokens, and no ids for the model to mistype. - The organiser runs its batches three at a time, so a large installation takes a fraction of the time.
generateJsonno longer retries a reply cut off at the output limit. The "repair" retry hit the same limit; it now fails at once with "The answer was cut off at the N-token output limit. Raise the maximum answer length, or ask for less at once."
- "Suggest rooms & names" failed on large installations. All accessories went into one request, and with a few dozen of them the reply ran past the output limit (2048 tokens by default); the cut-off JSON failed validation and the call ended in an error.
Changed
- The
@mp-consulting/homebridge-ui-kitdev dependency now comes from npm (^1.2.0) instead of a sibling checkout, so CI and the publish workflow can build the settings page assets.