FastFlowLM v0.9.9 introduces a major runtime overhaul with enhanced flexibility, dynamic context length control, and full OpenAI-compatible API support.
β¨ Whatβs New
1. π Unified ModelβViewModel Framework
- All models now share the same invoke API.
- Easier expansion for upcoming features and model types (ASR, TTS, embeddings, etc.).
- Model-specific chat templates and parameters (
temp,top_k,top_p, etc.) are now supported.
2. β³ Launch-Time Context Length (ctx-len)
- Users can now set context length at launch in both CLI and server mode with ease.
CLI mode:
flm run llama3.2:1b --ctx-len 8192Server mode:
flm serve llama3.2:1b --ctx-len 8192- Minimal RAM usage can be as low as 2 GB for small models.
- β οΈ Values below
512are automatically adjusted to512.
3. π OpenAI-Compatible API (with Image Support!)
/v1/modelsendpoint now supported for model listing and fetching./v1/chat/completionsnow accepts image inputs via the"images"field.- Works seamlessly with Open WebUI, LangChain, and other OpenAI-compatible tools.
- β οΈ Currently, all APIs (including Ollama) only accept images in BASE64-encoded format.
4. π» CLI & Help Improvements
- Simplified parameter names for a cleaner CLI:
| Old Name | New Name |
|---|---|
temperature
| temp
|
repetition_penalty
| rep-pen
|
frequency_penalty
| freq-pen
|
system_prompt
| sys-msg
|
context_length
| ctx-len
|
generate_limit
| gen-lim
|
5. βοΈ Boost.ProgramOptions Integration
- Replaced manual parsing with Boost.ProgramOptions.
- Provides cleaner CLI UX, stronger validation, and clearer error reporting.
flm helpnow shows updated flag names and real-time settings.
π Summary
This release rebuilds the FLM runtime for future-proof extensibility, improved developer experience, and seamless integration with OpenAI-based ecosystems.