mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-03 13:20:22 +00:00
feat: add Fireworks provider and simplify plugin setup loading
This commit is contained in:
@@ -899,7 +899,7 @@ describe("runReplyAgent typing (heartbeat)", () => {
|
||||
attempts: [
|
||||
{
|
||||
provider: "fireworks",
|
||||
model: "fireworks/minimax-m2p5",
|
||||
model: "fireworks/accounts/fireworks/routers/kimi-k2p5-turbo",
|
||||
error: "Provider fireworks is in cooldown (all profiles unavailable)",
|
||||
reason: "rate_limit",
|
||||
},
|
||||
@@ -960,7 +960,7 @@ describe("runReplyAgent typing (heartbeat)", () => {
|
||||
attempts: [
|
||||
{
|
||||
provider: "fireworks",
|
||||
model: "fireworks/minimax-m2p5",
|
||||
model: "fireworks/accounts/fireworks/routers/kimi-k2p5-turbo",
|
||||
error: "Provider fireworks is in cooldown (all profiles unavailable)",
|
||||
reason: "rate_limit",
|
||||
},
|
||||
@@ -1034,7 +1034,7 @@ describe("runReplyAgent typing (heartbeat)", () => {
|
||||
attempts: [
|
||||
{
|
||||
provider: "fireworks",
|
||||
model: "fireworks/minimax-m2p5",
|
||||
model: "fireworks/accounts/fireworks/routers/kimi-k2p5-turbo",
|
||||
error: "Provider fireworks is in cooldown (all profiles unavailable)",
|
||||
reason: "rate_limit",
|
||||
},
|
||||
@@ -1097,7 +1097,7 @@ describe("runReplyAgent typing (heartbeat)", () => {
|
||||
attempts: [
|
||||
{
|
||||
provider: "fireworks",
|
||||
model: "fireworks/minimax-m2p5",
|
||||
model: "fireworks/accounts/fireworks/routers/kimi-k2p5-turbo",
|
||||
error: "Provider fireworks is in cooldown (all profiles unavailable)",
|
||||
reason: "rate_limit",
|
||||
},
|
||||
@@ -1177,7 +1177,7 @@ describe("runReplyAgent typing (heartbeat)", () => {
|
||||
attempts: [
|
||||
{
|
||||
provider: "fireworks",
|
||||
model: "fireworks/minimax-m2p5",
|
||||
model: "fireworks/accounts/fireworks/routers/kimi-k2p5-turbo",
|
||||
error: "Provider fireworks is in cooldown (all profiles unavailable)",
|
||||
reason: "rate_limit",
|
||||
},
|
||||
@@ -1299,7 +1299,7 @@ describe("runReplyAgent typing (heartbeat)", () => {
|
||||
sessionId,
|
||||
updatedAt: Date.now(),
|
||||
sessionFile: transcriptPath,
|
||||
fallbackNoticeSelectedModel: "fireworks/minimax-m2p5",
|
||||
fallbackNoticeSelectedModel: "fireworks/accounts/fireworks/routers/kimi-k2p5-turbo",
|
||||
fallbackNoticeActiveModel: "deepinfra/moonshotai/Kimi-K2.5",
|
||||
fallbackNoticeReason: "rate limit",
|
||||
};
|
||||
|
||||
@@ -207,16 +207,18 @@ describe("/model chat UX", () => {
|
||||
it("shows active runtime model when different from selected model", async () => {
|
||||
const reply = await resolveModelInfoReply({
|
||||
provider: "fireworks",
|
||||
model: "fireworks/minimax-m2p5",
|
||||
model: "fireworks/accounts/fireworks/routers/kimi-k2p5-turbo",
|
||||
defaultProvider: "fireworks",
|
||||
defaultModel: "fireworks/minimax-m2p5",
|
||||
defaultModel: "fireworks/accounts/fireworks/routers/kimi-k2p5-turbo",
|
||||
sessionEntry: {
|
||||
modelProvider: "deepinfra",
|
||||
model: "moonshotai/Kimi-K2.5",
|
||||
},
|
||||
});
|
||||
|
||||
expect(reply?.text).toContain("Current: fireworks/minimax-m2p5 (selected)");
|
||||
expect(reply?.text).toContain(
|
||||
"Current: fireworks/accounts/fireworks/routers/kimi-k2p5-turbo (selected)",
|
||||
);
|
||||
expect(reply?.text).toContain("Active: deepinfra/moonshotai/Kimi-K2.5 (runtime)");
|
||||
});
|
||||
|
||||
|
||||
@@ -746,7 +746,7 @@ describe("buildStatusMessage", () => {
|
||||
updatedAt: 0,
|
||||
modelProvider: "anthropic",
|
||||
model: "claude-haiku-4-5",
|
||||
fallbackNoticeSelectedModel: "fireworks/minimax-m2p5",
|
||||
fallbackNoticeSelectedModel: "fireworks/accounts/fireworks/routers/kimi-k2p5-turbo",
|
||||
fallbackNoticeActiveModel: "deepinfra/moonshotai/Kimi-K2.5",
|
||||
fallbackNoticeReason: "rate limit",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user