diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2be960b94938..959b3fcee60a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,31 @@
# Changelog
+### [Version 1.42.1](https://github.com/lobehub/lobe-chat/compare/v1.42.0...v1.42.1)
+
+Released on **2024-12-29**
+
+#### 🐛 Bug Fixes
+
+- **misc**: Fix custom max_token not saved from customModelCards.
+
+
+
+
+Improvements and Fixes
+
+#### What's fixed
+
+- **misc**: Fix custom max_token not saved from customModelCards, closes [#5226](https://github.com/lobehub/lobe-chat/issues/5226) ([ab6d17c](https://github.com/lobehub/lobe-chat/commit/ab6d17c))
+
+
+
+
+
+[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
+
+
+
## [Version 1.42.0](https://github.com/lobehub/lobe-chat/compare/v1.41.0...v1.42.0)
Released on **2024-12-29**
diff --git a/changelog/v1.json b/changelog/v1.json
index 862846e03600..a3992b5d56f5 100644
--- a/changelog/v1.json
+++ b/changelog/v1.json
@@ -1,4 +1,11 @@
[
+ {
+ "children": {
+ "fixes": ["Fix custom max_token not saved from customModelCards."]
+ },
+ "date": "2024-12-29",
+ "version": "1.42.1"
+ },
{
"children": {
"features": ["Add custom stream handle support for LobeOpenAICompatibleFactory."]
diff --git a/package.json b/package.json
index 69090d2f6700..fdc6d1329350 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "@lobehub/chat",
- "version": "1.42.0",
+ "version": "1.42.1",
"description": "Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.",
"keywords": [
"framework",
diff --git a/src/app/(main)/settings/llm/components/ProviderModelList/ModelConfigModal/Form.tsx b/src/app/(main)/settings/llm/components/ProviderModelList/ModelConfigModal/Form.tsx
index 0cb2c3ad3a04..6f3b7a1f7772 100644
--- a/src/app/(main)/settings/llm/components/ProviderModelList/ModelConfigModal/Form.tsx
+++ b/src/app/(main)/settings/llm/components/ProviderModelList/ModelConfigModal/Form.tsx
@@ -66,7 +66,7 @@ const ModelConfigForm = memo(
>
-
+