Roo-Code/src/api/providers/fireworks.ts
Daniel 6cfa82f571
Revert to pre-AI-SDK state (January 29, 2026) (#11462)
Revert to pre-AI-SDK state (commit 67e568f6b)

This commit reverts the codebase to the state before AI SDK migration work began.

Target commit: 67e568f6b - refactor: replace fetch_instructions with skill tool and built-in skills (#10913)
Date: January 29, 2026

This removes approximately 152 commits of AI SDK migration work.
A follow-up PR will add back bug fixes and features that are unrelated to AI SDK.

Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-13 16:45:18 -05:00

19 lines
640 B
TypeScript

import { type FireworksModelId, fireworksDefaultModelId, fireworksModels } from "@roo-code/types"
import type { ApiHandlerOptions } from "../../shared/api"
import { BaseOpenAiCompatibleProvider } from "./base-openai-compatible-provider"
export class FireworksHandler extends BaseOpenAiCompatibleProvider<FireworksModelId> {
constructor(options: ApiHandlerOptions) {
super({
...options,
providerName: "Fireworks",
baseURL: "https://api.fireworks.ai/inference/v1",
apiKey: options.fireworksApiKey,
defaultProviderModelId: fireworksDefaultModelId,
providerModels: fireworksModels,
defaultTemperature: 0.5,
})
}
}