ollama version and model download
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 22/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- C#
- Estrellas
- 637
- Forks
- 209
- Merge medio
- 1 d 10 h
- PR fusionados (30 d)
- 131
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de CommunityToolkit/Aspire
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
CommunityToolkit/Aspire#2593 ·
Los mantenedores suelen responder en 1 día
-
feature request :mailbox_with_mail:
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
CommunityToolkit/Aspire#2591 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
CommunityToolkit/Aspire#2533 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
CommunityToolkit/Aspire#2436 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
[SqlProjects] Improve checksum cheksPosiblemente ocupada @ErikEJ la tomó hace 15 días. Abierto
CommunityToolkit/Aspire#2435 · 2 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de CommunityToolkit/Aspire
Issues similares
-
Scaffold marks an association as required when its composite foreign key has a nullable columnAbiertoarea: scaffold status: needs-tests
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
provider:flagd type:fix
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
open-feature/dotnet-sdk-contrib#789 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 72/100
NimblePros/Metronome#23 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
jsboige/CoursIA#28504 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
要トリアージ
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día