@lobehub/chat 0.150.7 → 0.150.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,31 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ### [Version 0.150.8](https://github.com/lobehub/lobe-chat/compare/v0.150.7...v0.150.8)
6
+
7
+ <sup>Released on **2024-04-28**</sup>
8
+
9
+ #### 💄 Styles
10
+
11
+ - **ollama**: Phi3 Instruct models and its model icons.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### Styles
19
+
20
+ - **ollama**: Phi3 Instruct models and its model icons, closes [#2254](https://github.com/lobehub/lobe-chat/issues/2254) ([c9b55cc](https://github.com/lobehub/lobe-chat/commit/c9b55cc))
21
+
22
+ </details>
23
+
24
+ <div align="right">
25
+
26
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
27
+
28
+ </div>
29
+
5
30
  ### [Version 0.150.7](https://github.com/lobehub/lobe-chat/compare/v0.150.6...v0.150.7)
6
31
 
7
32
  <sup>Released on **2024-04-28**</sup>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "0.150.7",
3
+ "version": "0.150.8",
4
4
  "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.",
5
5
  "keywords": [
6
6
  "framework",
@@ -95,6 +95,7 @@ const ModelIcon = memo<ModelProviderIconProps>(({ model: originModel, size = 12
95
95
  return <Stability.Avatar size={size} />;
96
96
 
97
97
  if (model.includes('wizardlm')) return <Azure.Avatar size={size} />;
98
+ if (model.includes('phi3')) return <Azure.Avatar size={size} />;
98
99
  if (model.includes('firefly')) return <Adobe.Avatar size={size} />;
99
100
  if (model.includes('jamba') ||
100
101
  model.includes('j2-'))
@@ -82,6 +82,7 @@ const ModelIcon = memo<ModelIconProps>(({ model, size = 12 }) => {
82
82
  return <Stability size={size} />;
83
83
 
84
84
  if (model.includes('wizardlm')) return <Azure size={size} />;
85
+ if (model.includes('phi3')) return <Azure size={size} />;
85
86
  if (model.includes('firefly')) return <AdobeFirefly size={size} />;
86
87
  if (model.includes('jamba') || model.includes('j2-')) return <Ai21 size={size} />;
87
88
  });
@@ -91,6 +91,12 @@ const Ollama: ModelProviderCard = {
91
91
  id: 'codellama:python',
92
92
  tokens: 16_000,
93
93
  },
94
+ {
95
+ displayName: 'Phi3-Instruct 3.8B',
96
+ enabled: true,
97
+ id: 'phi3:instruct',
98
+ tokens: 128_000,
99
+ },
94
100
  {
95
101
  displayName: 'Mistral',
96
102
  enabled: true,