mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-06 08:18:39 +00:00
Revert to pre-AI-SDK state (commit67e568f6b) 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>
19 lines
640 B
TypeScript
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,
|
|
})
|
|
}
|
|
}
|