
Security News
Happy Birthday, Shai-Hulud
It has been one year since Shai-Hulud made its first appearance on npm.
@memberjunction/ai-fireworks
Advanced tools
MemberJunction AI provider for Fireworks AI inference platform. This package extends the OpenAI provider to work with Fireworks' OpenAI-compatible API, providing access to a variety of open-source and fine-tuned models with fast inference.
graph TD
A["FireworksLLM<br/>(Provider)"] -->|extends| B["OpenAILLM<br/>(@memberjunction/ai-openai)"]
B -->|extends| C["BaseLLM<br/>(@memberjunction/ai)"]
A -->|overrides base URL| D["Fireworks API<br/>(api.fireworks.ai/inference/v1)"]
C -->|registered via| E["@RegisterClass"]
style A fill:#7c5295,stroke:#563a6b,color:#fff
style B fill:#2d6a9f,stroke:#1a4971,color:#fff
style C fill:#2d6a9f,stroke:#1a4971,color:#fff
style D fill:#2d8659,stroke:#1a5c3a,color:#fff
style E fill:#b8762f,stroke:#8a5722,color:#fff
npm install @memberjunction/ai-fireworks
import { FireworksLLM } from '@memberjunction/ai-fireworks';
const llm = new FireworksLLM('your-fireworks-api-key');
const result = await llm.ChatCompletion({
model: 'accounts/fireworks/models/llama-v3p1-70b-instruct',
messages: [
{ role: 'user', content: 'What are the benefits of open-source AI models?' }
],
temperature: 0.7
});
if (result.success) {
console.log(result.data.choices[0].message.content);
}
FireworksLLM is a thin subclass of OpenAILLM that redirects API calls to Fireworks' endpoint at https://api.fireworks.ai/inference/v1. All chat, streaming, and parameter handling logic is inherited from the OpenAI provider.
Registered as FireworksLLM via @RegisterClass(BaseLLM, 'FireworksLLM').
@memberjunction/ai - Core AI abstractions@memberjunction/ai-openai - OpenAI provider (parent class)@memberjunction/global - Class registrationFAQs
MemberJunction Wrapper for Fireworks.ai AI Models
The npm package @memberjunction/ai-fireworks receives a total of 1,898 weekly downloads. As such, @memberjunction/ai-fireworks popularity was classified as popular.
We found that @memberjunction/ai-fireworks demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 11 open source maintainers collaborating on the project.

Security News
It has been one year since Shai-Hulud made its first appearance on npm.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.

Security News
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.