Skip to content

Commit 5b5c2d9

Browse files
committed
8.7.23
1 parent 094532f commit 5b5c2d9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/Midjourney.API/Midjourney.API.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<IncludeAllContentForSelfExtract>true</IncludeAllContentForSelfExtract>
1010
<EnableCompressionInSingleFile>true</EnableCompressionInSingleFile>
1111
<SatelliteResourceLanguages>zh-Hans</SatelliteResourceLanguages>
12-
<AssemblyVersion>8.7.22</AssemblyVersion>
12+
<AssemblyVersion>8.7.23</AssemblyVersion>
1313
<DockerfileContext>..\..</DockerfileContext>
1414
</PropertyGroup>
1515

src/Midjourney.Base/Extensions.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -606,15 +606,15 @@ public static string AppendSpeedMode(this string prompt, GenerationSpeedMode? mo
606606
return prompt;
607607
}
608608

609-
// 移除可能的速度模式
610-
prompt = prompt.RemoveSpeedMode();
611-
612609
// 如果没有指定速度模式,则返回原始 prompt
613610
if (mode == null)
614611
{
615612
return prompt;
616613
}
617614

615+
// 移除可能的速度模式
616+
prompt = prompt.RemoveSpeedMode();
617+
618618
// 根据速度模式追加参数
619619
switch (mode.Value)
620620
{

src/lib/Midjourney.License.dll

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)