chore(vendor): import pi 1.3.0
Imported as a linear vendor commit so forge rebases do not replay the upstream root tree. git-subtree-dir: third_party/pi git-subtree-split: 71023aec1546d6d677a65669c5665c0927ce0dd0
This commit is contained in:
@@ -71,7 +71,7 @@ describe("OAuthSelectorComponent", () => {
|
||||
]);
|
||||
});
|
||||
|
||||
it("renders an option without compiled auth status as unconfigured", () => {
|
||||
it("renders an option without compiled auth status as not configured", () => {
|
||||
const selector = new OAuthSelectorComponent(
|
||||
"login",
|
||||
[{ id: "google", name: "Google", authType: "api_key", status: undefined }],
|
||||
@@ -80,7 +80,7 @@ describe("OAuthSelectorComponent", () => {
|
||||
);
|
||||
|
||||
const output = stripAnsi(selector.render(120).join("\n"));
|
||||
expect(output).toContain("unconfigured");
|
||||
expect(output).toContain("not configured");
|
||||
expect(output).not.toContain("✓ configured");
|
||||
});
|
||||
|
||||
@@ -106,7 +106,7 @@ describe("OAuthSelectorComponent", () => {
|
||||
|
||||
const output = stripAnsi(selector.render(120).join("\n"));
|
||||
expect(output).toContain("✓ env: OPENAI_API_KEY");
|
||||
expect(output).not.toContain("unconfigured");
|
||||
expect(output).not.toContain("not configured");
|
||||
});
|
||||
|
||||
it("shows models.json API key auth as configured", () => {
|
||||
|
||||
Reference in New Issue
Block a user