ollama version and model download
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 22/100
調査の方向性
The failure is a 412 response from Ollama's /api/pull, surfaced by PullModelAsync in CommunityToolkit.Aspire.Hosting.Ollama/OllamaUtilities.cs (around line 49), which wraps the OllamaSharp client. Start by reproducing with the AddOllama and AddModel calls from the report, then check how the pull error is logged and reported to the resource. The issue does not say what the expected behavior is, so confirm with maintainers whether the fix is a clearer error, an image-tag change, or a version check before coding. Done means a defined outcome for the newer-version case, with a test.
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
Ollama download error when model requires a newer version throws an exception:
2026-11-25T01:16:18.022Z: [qwen3-embedding:latest] needs to be downloaded for ha-ai-qwen-embedding
2026-11-25T01:16:18.022Z: [qwen3.8:latest] needs to be downloaded for ha-ai-qwen-thinking
2026-11-25T01:16:18.022Z: [d3:latest] needs to be downloaded for ha-ai-d3-decision
2026-11-25T01:16:18.026Z: Pulling ollama model qwen3.8:latest...
2026-11-25T01:16:18.026Z: Pulling ollama model d3:latest...
2026-11-25T01:16:18.026Z: Pulling ollama model qwen3-embedding:latest...
[GIN] 2026/11/25 - 01:16:18 | 200 | 804.946349ms | 172.19.0.1 | POST "/api/pull"
Error pulling model
OllamaSharp.Models.Exceptions.ResponseError: pull model manifest: 412:
The model you are attempting to pull requires a newer version of Ollama.
Please download the latest version at:
https://ollama.com/download
at OllamaSharp.OllamaApiClient.ProcessStreamedResponseAsync[TLine](HttpResponseMessage response, CancellationToken cancellationToken)+MoveNext()
at OllamaSharp.OllamaApiClient.ProcessStreamedResponseAsync[TLine](HttpResponseMessage response, CancellationToken cancellationToken)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
at OllamaSharp.OllamaApiClient.StreamPostAsync[TRequest,TResponse](String endpoint, TRequest ollamaRequest, CancellationToken cancellationToken)+MoveNext()
at OllamaSharp.OllamaApiClient.StreamPostAsync[TRequest,TResponse](String endpoint, TRequest ollamaRequest, CancellationToken cancellationToken)+MoveNext()
at OllamaSharp.OllamaApiClient.StreamPostAsync[TRequest,TResponse](String endpoint, TRequest ollamaRequest, CancellationToken cancellationToken)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
at OllamaSharp.OllamaApiClient.PullModelAsync(PullModelRequest request, CancellationToken cancellationToken)+MoveNext()
at OllamaSharp.OllamaApiClient.PullModelAsync(PullModelRequest request, CancellationToken cancellationToken)+MoveNext()
at OllamaSharp.OllamaApiClient.PullModelAsync(PullModelRequest request, CancellationToken cancellationToken)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
at CommunityToolkit.Aspire.Hosting.Ollama.OllamaUtilities.PullModelAsync(OllamaModelResource resource, IOllamaApiClient ollamaClient, String model, ILogger logger, ResourceNotificationService notificationService, CancellationToken cancellationToken) in /_/src/CommunityToolkit.Aspire.Hosting.Ollama/OllamaUtilities.cs:line 49
at CommunityToolkit.Aspire.Hosting.Ollama.OllamaUtilities.PullModelAsync(OllamaModelResource resource, IOllamaApiClient ollamaClient, String model, ILogger logger, ResourceNotificationService notificationService, CancellationToken cancellationToken) in /_/src/CommunityToolkit.Aspire.Hosting.Ollama/OllamaUtilities.cs:line 49
time=2026-11-25T01:16:18.946Z level=INFO source=download.go:181 msg="downloading 3fcd3febec8b in 16 292 MB part(s)"
Regression
No response
Steps to reproduce
/*:
var zscaler = distributedApplicationBuilder
.AddCertificateAuthorityCollection("ha-certs")
.WithCertificatesFromFile(
Path.Combine(
Environment.GetFolderPath(
Environment.SpecialFolder.DesktopDirectory
),
"Zscaler Root CA.crt"
)
);
*/
/*: */
var ai = distributedApplicationBuilder.AddOllama(name: "ha-ai")
.WithImageTag("latest");
var aithinking = ai.AddModel(name: "ha-ai-qwen-thinking" , modelName: "qwen3.8:latest");
var aiembedding = ai.AddModel(name: "ha-ai-qwen-embedding", modelName: "qwen3-embedding:latest");
var aidecision = ai.AddModel(name: "ha-ai-d3-decision", modelName:"d3:latest");
// ai.WithCertificateAuthorityCollection(zscaler);
ai.PublishAsContainer();
Expected behavior
``
Screenshots
No response
IDE and version
Other
IDE version
VS 2026
Nuget packages
Additional context
No response
Help us help you
No, just wanted to report this
- 主要言語
- C#
- スター
- 637
- フォーク
- 209
- 平均マージ
- 1日 10時間
- マージ済み PR(30日)
- 131
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
CommunityToolkit/Aspire のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
CommunityToolkit/Aspire#2593 ·
メンテナーはふだん 1 日以内に返信
-
feature request :mailbox_with_mail:
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
CommunityToolkit/Aspire#2591 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
CommunityToolkit/Aspire#2533 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
CommunityToolkit/Aspire#2436 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[SqlProjects] Improve checksum cheks対応中かも @ErikEJ が 15 日前に担当しました。 オープン
CommunityToolkit/Aspire#2435 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
CommunityToolkit/Aspire の issue をすべて見る
似ている issue
-
area: scaffold status: needs-tests
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
provider:flagd type:fix
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
open-feature/dotnet-sdk-contrib#789 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 72/100
NimblePros/Metronome#23 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
jsboige/CoursIA#28504 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
要トリアージ
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信