mirror of
https://github.com/moltbot/moltbot.git
synced 2026-03-30 01:06:11 +00:00
Contracts: narrow codex catalog hint return type
This commit is contained in:
@@ -74,8 +74,8 @@ describe("provider catalog contract", () => {
|
||||
|
||||
it("keeps codex-only missing-auth hints wired through the provider runtime", () => {
|
||||
const openaiProvider = requireProviderContractProvider("openai");
|
||||
expectCodexMissingAuthHint((params) =>
|
||||
openaiProvider.buildMissingAuthMessage?.(params.context),
|
||||
expectCodexMissingAuthHint(
|
||||
(params) => openaiProvider.buildMissingAuthMessage?.(params.context) ?? undefined,
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user