Skip to content

v2.0.2

Choose a tag to compare

@mp-consulting mp-consulting released this 04 Oct 05:06
· 36 commits to main since this release
fe59ddb

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. suggestOrganization now 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.
    • generateJson no 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."

Changed

  • The @mp-consulting/homebridge-ui-kit dev 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.