Skip to content

v1.2.0

Choose a tag to compare

@taikun114 taikun114 released this 25 Mar 10:53
· 74 commits to main since this release

English

New Features

  • Revamping the Markdown rendering engine
    • The Markdown rendering engine for chat has been updated from MarkdownUI to Textual, incorporating improvements such as enhanced performance and syntax highlighting for code blocks, resulting in a more user-friendly experience.
    • As a result, Mocolamma now requires iOS / iPadOS 18.0 or later, macOS 15.0 or later, visionOS 2.0 or later. Please note that users on older operating systems will need to perform a software update.
  • Native support for visionOS
    • Mocolamma now runs natively on visionOS devices. On visionOS, the inspector and message input screens feature optimized displays, and the interface uses a native SwiftUI design that blends seamlessly into the space, improving usability.
  • Support for attaching images in chat
    • Models with image recognition capabilities now allow you to attach images to receive responses. For image file compatibility, attached images are converted to PNG format and large images are resized to a maximum of 2048px × 2048px before being sent to the API.
    • Attached images can be rearranged by dragging and dropping them, and you can also drag and drop image files from other apps to attach them.
  • Support for Ollama's image generation feature (beta)
    • As Ollama's image generation feature is currently in beta, future Ollama updates may introduce changes to its functionality (Ollama API), potentially causing the image generation feature to stop working in Mocolamma.
    • A demo of the image generation feature is available. Select demo-image:0b as the image generation model and send any prompt. This will perform a simulation advancing 0.2 seconds per step, finally outputting a test image.
  • Support image model tag
    • Image model tag is now correctly displayed in the model inspector.
  • Add Image Preview feature
    • You can preview attached images or generated images in a large enlarged view.
  • Add an unload model button to the server screen inspector
    • This allows you to quickly unload (free from memory) models currently loaded into Ollama server memory.
  • Add an icon customization feature to the add/edit server screen
    • You can now change each server's icon to any SF Symbols icon of your choice. This only changes the icon displayed on the server screen, but if you have multiple servers configured, you can now identify them by their icons as well as their names.
  • Add a tag filter to the model screen
    • This makes it easier to find models that support specific capabilities. You can filter by selecting the desired items from the filter button on the toolbar or by tapping the tags displayed in the model inspector.
  • Add an auto-follow scroll feature to the chat screen and image generation screen
    • When scrolled to the bottom, messages will now automatically scroll downward to follow as they become longer, such as during stream responses. Auto-follow scrolling is disabled by scrolling slightly upward and re-enables when scrolling back to the bottom.
  • Add a Keep Alive option to the chat and image generation screen inspectors
    • This allows you to specify how long the model is kept in memory on the Ollama server.
  • Add a Seed option to the chat and image generation screen inspectors
    • This enables reproducible generation.
  • Add a share button below the message bubble in the chat screen and image generation screen
    • You can now quickly share the generated results.
  • Add many advanced options to custom settings for chat
    • For advanced users who want to tweak model behavior and conduct tests, added the following options: “Seed,” “Repeat Last N,” “Repeat Penalty,” “Num Predict,” “Top-k,” “Top-p,” and “Min-p.”
  • Add model download simulation in demo mode
    • When demo mode is enabled, pressing the Add button with demo-dl or demo-dl:0b entered as the model name in the add model sheet will simulate a one-minute model download.
  • Add a feature to request reviews on the App Store (App Store version only)
    • A screen asking users to review the app on the App Store will now appear periodically (but very infrequently).
    • Please rest assured that you can completely disable this feature in the app settings if you do not want the review screen to appear.
    • Please refer to the README for details on when the review request screen appears.
  • Add an App Store review button to the app information screen (App Store version only)
    • You can open the App Store review page directly from the button added to the “Support Developer” section.
  • Add Arabic (ar), Chinese (Hong Kong) (zh-HK), Chinese (Simplified) (zh-Hans), Chinese (Traditional) (zh-Hant), Korean (ko), Russian (ru), Ukrainian (uk) localization by generative AI
    • Since I have no knowledge of languages other than Japanese and English, translations may contain strange translations. If you notice any translations that need correction, I would appreciate it if you could send feedback on what to change and how!

Bug Fixes and Improvements

  • Fix to display image model details correctly
  • Fix issue where model screen could be refreshed during model download
  • Fix issue where the chat screen would freeze while scrolling
  • Fix issue where selecting a model while the Inspector is open does not focus the input field
  • Fix issue where the scroll edge effect might not display correctly in chat and image generation screens on macOS
    • Fixed an issue where, on macOS 26.0 or later, the scroll edge effect on the toolbar would display incorrectly (appearing as a hard style instead of a soft style) when showing the Chat or Image Generation screen, until the Inspector was opened/closed or the window size was changed. The beautiful blur effect now displays correctly.
  • Improve the Inspector button icon to display a more understandable one
    • When the inspector is displayed in sheet style (e.g., on iPhone or iPad in compact view), the info.circle icon is now shown. When displayed in sidebar style, it remains unchanged.
  • Improve API timeout alert messages
    • Added an advisory message about changing the timeout duration in settings when loading large models takes a long time.
  • Improve the appearance of swipe actions
    • When swiping a list item on the server and model screens, the action displayed now always shows only the icon, regardless of the item's height.
  • Improve to prevent the add server and model sheet from closing when swiping down on iOS / iPadOS
  • Improve the style of the Add and Complete buttons on the add server and model sheet on iOS / iPadOS 26
    • The Complete button now uses the system native design, and the Add button now uses a design very close to the system native design.
  • Improve error handling when adding servers
    • When a connection to a server fails, detailed error information is now displayed. Additionally, if a server with the same hostname is already registered, you can no longer register it.
  • Improve download progress display performance on the model screen
  • Improve tag display in the model inspector
  • Improve the model inspector to display a specific license when a license title is missing but the license body exists
    • If the license body contains MIT License, it will display MIT License as the license title. If the license body contains both Apache License and Version 2.0, it will display Apache License 2.0 as the license title.
  • Improve the appearance of model download progress display on iOS / iPadOS 26 and later
    • On iOS / iPadOS 26.0 or later, the model download progress display is now positioned as a safeAreaBar, applying a beautiful, blended blur effect created by the scroll edge effect.
  • Improve to also show an alert when an error occurs during model download
  • Improve to allow download even when the model name is entered in the ollama command format
    • Model names can now be properly extracted and downloaded even when the model name is entered in the input field in a format such as ollama run model_name or ollama pull model_name.
  • Improve the model picker in the chat screen and image generation screen to display icons for models loaded into memory
  • Improve the appearance of the model picker in the chat screen and image generation screen on iOS / iPadOS
    • A divider line has been added between options, and model names are now displayed when the model picker is within an overflow menu.
  • Improve to show an error when selecting an image-only model in the chat screen
  • Improve to display an action sheet requesting confirmation on the New Chat button
  • Improve message bubble display on iOS / iPadOS when the display size is large
    • When using an iPad with a wider window or a large-screen iPhone in landscape mode, message bubbles now have a slightly reduced maximum width just like on macOS, making them easier to read.
  • Improve to display a checkmark icon when message copying is successful
  • Improve to display the language above the code block
  • Improve the chat screen to enhance error handling
  • Add an icon to the refresh button in the context menu for the number of running models in the server inspector
  • Add filtering to the model picker in the chat screen to prevent models that do not support chat from being displayed

日本語

新機能

  • Markdownレンタリングエンジンを刷新
    • チャットのMarkdownレンダリングエンジンがMarkdownUIからTextualに刷新され、パフォーマンスの向上、コードブロックのシンタックスハイライト対応などといった改善が取り込まれ、使いやすさが向上しました。
    • これに伴い、MocolammaはiOS / iPadOS 18.0またはそれ以降、macOS 15.0またはそれ以降、visionOS 2.0またはそれ以降が必要になります。古いOSをご利用の方はソフトウェアアップデートを行っていただく必要がありますのでご注意ください。
  • visionOSにネイティブ対応
    • visionOSデバイス上でMocolammaがネイティブに動作するようになりました。visionOS上ではインスペクタやメッセージ入力画面などが専用表示となり、ネイティブSwiftUIによる空間に馴染むデザインで使えるようになり、操作性が向上しました。
  • チャットの画像添付に対応
    • 画像認識機能に対応したモデルでは、画像を添付して回答を得ることが可能になりました。画像ファイルの互換性のために、添付された画像はPNGに変換され、大きな画像は最大2048px × 2048pxにリサイズされてAPIに送信されます。
    • 添付された画像はドラッグアンドドロップで並び替えることができ、他のアプリから画像ファイルをドラッグアンドドロップして添付することもできます。
  • Ollamaの画像生成機能に対応(ベータ)
    • 現在、Ollamaの画像生成機能がベータ版のため、将来的なOllamaのアップデートにより機能(Ollama API)に変更が加えられた場合、Mocolammaで画像生成機能が動作しなくなる可能性があります。
    • 画像生成機能のデモが利用可能です。画像生成モデルとしてdemo-image:0bを選択して何らかのプロンプトを送信すると、1ステップあたり0.2秒ずつ進むシミュレーションが行われ、最終的にテスト画像が出力されます。
  • 画像モデルのタグに対応
    • モデルインスペクタで画像モデルのタグが正しく表示されるようになりました。
  • 画像プレビュー機能を追加
    • 添付された画像や生成された画像を大きく拡大プレビューすることができます。
  • サーバー画面のインスペクタにモデルのアンロードボタンを追加
    • Ollamaサーバーのメモリ上に読み込まれているモデルを素早くアンロード(メモリから解放)することができます。
  • サーバーの追加編集画面にアイコン変更機能を追加
    • 各サーバーのアイコンをお好みのSF Symbolsアイコンに変更することができるようになりました。サーバー画面に表示されるアイコンが変わるだけではありますが、複数サーバーが設定されている場合に名前だけでなくアイコンで識別することができます。
  • モデル画面にタグフィルターを追加
    • 特定の機能に対応したモデルを探すのに便利です。ツールバーのフィルターボタンからフィルタリングしたい項目を選択するか、モデルインスペクタに表示されるタグをタップすることでフィルタリングできます。
  • チャット画面と画像生成画面に自動追従スクロール機能を追加
    • 下までスクロールされた状態では、ストリームレスポンス中などにメッセージが長くなっていっても、自動で下方向にスクロールが追従するようになりました。自動追従スクロールは上方向に少しスクロールすると解除され、再び下までスクロールすると追従が開始します。
  • チャット画面と画像生成画面のインスペクタにキープアライブオプションを追加
    • Ollamaサーバーのメモリ上にモデルを保持する時間を指定することができます。
  • チャット画面と画像生成画面のインスペクタにシード値オプションを追加
    • 再現性のある生成を行うことができます。
  • チャット画面と画像生成画面のメッセージバブル下に共有ボタンを追加
    • 生成結果を素早く共有することができるようになりました。
  • チャットのカスタム設定に、上級者向けオプションを多数追加
    • モデルの動作を細かく調整してテストを行いたい上級者向けに、「シード値」「繰り返し参照範囲(Repeat Last N)」「繰り返しペナルティ(Repeat Penalty)」「最大出力数(Num Predict)」「Top-k」「Top-p」「Min-p」のオプションを追加しました。
  • デモモードでモデルダウンロードのシミュレーションを追加
    • デモモードが有効になっている時、モデル追加シートでモデル名としてdemo-dlまたはdemo-dl:0bが入力された状態で追加ボタンを押すと、モデルのダウンロードを1分間かけたシミュレーションが行われます。
  • App Storeへのレビューリクエスト機能を追加(App Store版のみ)
    • 定期的に(非常に低頻度で)ユーザーへ、App Storeでのアプリのレビューを求める画面が表示されるようになりました。
    • レビュー画面が表示されて欲しくない場合は、アプリの設定から完全に無効化することができますのでご安心ください。
    • レビューを求める画面が表示されるタイミングについては、READMEをご覧ください。
  • アプリについての画面に、App Storeでのレビューボタンを追加(App Store版のみ)
    • 「開発者をサポート」セクションに追加されたボタンから直接App Storeのレビュー画面を開くことができます。
  • 生成AIによるアラビア語(ar)、中国語(香港)(zh-HK)、中国語(簡体字)(zh-Hans)、中国語(繁体字)(zh-Hant)、韓国語(ko)、ロシア語(ru)、ウクライナ語(uk)のローカライズを追加
    • 私は日本語と英語以外の知識が全くないため、おかしな翻訳が含まれている可能性があります。修正すべき翻訳に気がついた方は、どこをどのように変更すべきかフィードバックをお送りいただけると助かります!

バグ修正と改善

  • 画像モデルの詳細情報が正しく表示されるように修正
  • モデルのダウンロード中、モデル画面をリフレッシュできてしまった問題を修正
  • チャット画面でスクロール中にフリーズする問題を修正
  • インスペクタを開いているときにモデルを選んでも入力欄にフォーカスが当たらない問題を修正
  • macOSのチャット画面と画像生成画面で、スクロールエッジエフェクトが正しく表示されないことがあった問題を修正
    • macOS 26.0またはそれ以降でチャット画面と画像生成画面を表示している際、インスペクターを開閉するかウインドウサイズを変更するまで、ツールバーのスクロールエッジエフェクトが意図しない表示になってしまう(ソフトではなくハードスタイルになってしまう)問題が修正され、美しいぼかしエフェクトが正しく表示されるようになりました。
  • インスペクタボタンのアイコンを、よりわかりやすいものが表示されるように改善
    • iPhoneやiPadのコンパクト表示時など、シートスタイルでインスペクタが表示される場合はinfo.circleアイコンが表示されるようになりました。サイドバースタイルでインスペクタが表示される場合は今まで通りです。
  • APIタイムアウトのアラートメッセージを改善
    • 大きなモデルの読み込みに時間がかかる場合などに設定からタイムアウト時間を変更することに関するアドバイスメッセージを追加しました。
  • スワイプアクションの見た目を改善
    • サーバーとモデル画面のリスト項目をスワイプした時に表示されるアクションが、項目の高さにかかわらず、常にアイコンだけ表示されるようになりました。
  • iOS / iPadOSのサーバーとモデル追加シートを下スワイプしても閉じてしまわないように改善
  • iOS / iPadOS 26において、サーバーとモデル追加シートの追加・完了ボタンのスタイルを改善
    • 完了ボタンはシステムネイティブデザイン、追加ボタンはシステムネイティブデザインにかなり近いデザインになりました。
  • サーバー追加時のエラーハンドリングを改善
    • サーバーへの接続に失敗した際にエラー内容が詳しく表示されるように改善され、同じホスト名のサーバーがすでに登録されている場合は登録できないようになりました。
  • モデル画面で、ダウンロード進捗表示のパフォーマンスを改善
  • モデルインスペクタのタグ表示を改善
  • モデルインスペクタでライセンスタイトルが存在しないがライセンス本文が存在する場合、特定のライセンスを推測して表示されるように改善
    • ライセンス本文にMIT Licenseが存在する場合はライセンスタイトルとしてMIT Licenseと表示、ライセンス本文にApache LicenseVersion 2.0が同時に存在する場合はライセンスタイトルとしてApache License 2.0と表示されるようになります。
  • iOS / iPadOS 26以降でのモデルダウンロード進捗表示の見た目を改善
    • iOS / iPadOS 26.0またはそれ以降では、モデルダウンロード進捗表示がsafeAreaBarとして配置されるようになり、スクロールエッジエフェクトによる溶け込むような美しいぼかしエフェクトが適用されるようになりました。
  • モデルダウンロード中にエラーが発生した際、アラートにも表示するように改善
  • モデル名をollamaコマンド形式で入力された場合でもダウンロードできるように改善
    • モデル名の入力欄にollama run モデル名ollama pull モデル名のような形式で入力された場合でも、モデル名を適切に抽出してダウンロードできるようになりました。
  • チャット画面と画像生成画面のモデルピッカーに、メモリ上にロードされたモデルにアイコンを表示するように改善
  • iOS / iPadOSでチャット画面と画像生成画面のモデルピッカーの見た目を改善
    • 選択肢の間に区切り線が追加され、モデルピッカーがオーバーフローメニューの中にあるときにモデル名が表示されるようになりました。
  • チャット画面で画像専用モデルを選択したときにエラーが表示されるように改善
  • 新規チャットボタンに確認を求めるアクションシートを表示するように改善
  • iOS / iPadOSで、表示サイズが大きい場合のメッセージバブル表示を改善
    • iPadでウィンドウの横幅を大きくしている場合や画面サイズの大きなiPhoneで横向きにしている場合に、メッセージバブルの最大幅がmacOSと同様にわずかに小さくなることで見やすくなりました。
  • メッセージのコピー成功時にチェックマークアイコンが表示されるように改善
  • コードブロックの上に言語を表示するように改善
  • チャット画面のエラーハンドリングを強化するように改善
  • サーバーインスペクタにある実行中のモデル数のコンテキストメニューの再読み込みボタンにアイコンを追加
  • チャット画面のモデルピッカーにチャット非対応のモデルが表示されないようにフィルタリングを追加