fix: stabilize model catalog and pi discovery auth storage compatibility

This commit is contained in:
Peter Steinberger
2026-02-18 02:09:40 +01:00
parent 653add918b
commit 6dcc052bb4
41 changed files with 184 additions and 137 deletions

View File

@@ -1442,9 +1442,7 @@ describe("createForumTopicTelegram", () => {
message_thread_id: 272,
name: "Build Updates",
});
const api = { createForumTopic } as unknown as {
createForumTopic: typeof createForumTopic;
};
const api = { createForumTopic } as unknown as Bot["api"];
const result = await createForumTopicTelegram("telegram:group:-1001234567890:topic:271", "x", {
token: "tok",
@@ -1464,9 +1462,7 @@ describe("createForumTopicTelegram", () => {
message_thread_id: 300,
name: "Roadmap",
});
const api = { createForumTopic } as unknown as {
createForumTopic: typeof createForumTopic;
};
const api = { createForumTopic } as unknown as Bot["api"];
await createForumTopicTelegram("-1001234567890", "Roadmap", {
token: "tok",