Skip to content
Merged
2 changes: 1 addition & 1 deletion nemoclaw/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ export default function register(api: OpenClawPluginApi): void {

process.stderr.write("\n");
for (const line of renderBox(bannerLines)) {
process.stderr.write(`${line}\n`);
process.stderr.write(`[gateway] ${line}\n`);
}
process.stderr.write("\n");
}
15 changes: 15 additions & 0 deletions nemoclaw/src/register.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,21 @@ describe("plugin registration", () => {
expect(api.logger.info).not.toHaveBeenCalled();
});

it("tags every registration banner line with the gateway source tag (#7314)", () => {
const api = createMockApi();
register(api);

const output = stderrOutput();
expect(output.startsWith("\n")).toBe(true);
expect(output.endsWith("\n\n")).toBe(true);

const bannerLines = output.split("\n").filter((line) => line.length > 0);
expect(bannerLines.length).toBeGreaterThan(0);
for (const line of bannerLines) {
expect(line.startsWith("[gateway] ")).toBe(true);
}
});
Comment thread
laitingsheng marked this conversation as resolved.

it("falls back to onboard config when openclaw.json has no primary model", () => {
mockedLoadOnboardConfig.mockReturnValue({
endpointType: "build",
Expand Down
Loading