Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown property scheme #275

Open
MrCSharp22 opened this issue Dec 24, 2024 · 0 comments
Open

Unknown property scheme #275

MrCSharp22 opened this issue Dec 24, 2024 · 0 comments

Comments

@MrCSharp22
Copy link

🔥 Bug Description

Adding Ollama via CommunityToolkit.Aspire.Hosting.Ollama to a project causes the following error when running dotnet aspirate generate --output-format compose:

── Handle Value and Parameter Substitution ─────────────────────────────────────────────────────────────────────────────
Error executing action 'SubstituteValuesAspireManifestAction':
System.InvalidOperationException: Unknown property scheme.
  at string Aspirate.Processors.Transformation.Bindings.BindingProcessor.ParseBinding(string resourceName, string
     bindingName, string bindingProperty, JsonNode rootNode) in
     /home/runner/work/aspirational-manifests/aspirational-manifests/src/Aspirate.Processors/Transformation/Bindings/
     BindingProcessor.cs:35

🔍 Steps to Reproduce the Bug

  1. Add CommunityToolkit.Aspire.Hosting.Ollama and use it as per the docs.
  2. Run dotnet aspirate generate --output-format compose
  3. Observe Aspir8 complain about the scheme property being unknown.

🧯 Possible Solution

  • No workaround as far as I know. I am preparing a fix via a PR.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant