Which component is this issue related to?
Other / Not sure
Which Umbraco AI version are you using? (Please write the exact version, example: 10.1.0)
Umbraco.AI 1.13, Umbraco.AI.Google 1.1.10
Bug summary
I was trying to add the AI.LogAnalyser package to the community website (already on 17.4) and couldn't get it to work with a Google API key. The error being reported sounds like it is not the AI.LogAnalyser package at fault, but something in an Umbraco.AI* dependency
Specifics
The error being reported is:
System.MissingMethodException: Method not found: 'Void Microsoft.Extensions.AI.WebSearchToolResultContent.set_Results(System.Collections.Generic.IList`1<Microsoft.Extensions.AI.AIContent>)'.
at Microsoft.Extensions.AI.GoogleGenAIChatClient.PopulateResponseContents(GenerateContentResponse generateResult, IList`1 responseContents)
at Microsoft.Extensions.AI.GoogleGenAIChatClient.PopulateResponseContents(GenerateContentResponse generateResult, IList`1 responseContents)
at Microsoft.Extensions.AI.GoogleGenAIChatClient.GetResponseAsync(IEnumerable`1 messages, ChatOptions options, CancellationToken cancellationToken)
at Microsoft.Extensions.AI.OpenTelemetryChatClient.GetResponseAsync(IEnumerable`1 messages, ChatOptions options, CancellationToken cancellationToken)
at Umbraco.AI.Core.FileProcessing.AIFileProcessingChatClient.GetResponseAsync(IEnumerable`1 chatMessages, ChatOptions options, CancellationToken cancellationToken)
at Umbraco.AI.Core.RuntimeContext.Middleware.AIRuntimeContextInjectingChatClient.GetResponseAsync(IEnumerable`1 chatMessages, ChatOptions options, CancellationToken cancellationToken)
at Microsoft.Extensions.AI.FunctionInvokingChatClient.GetResponseAsync(IEnumerable`1 messages, ChatOptions options, CancellationToken cancellationToken)
at Umbraco.AI.Core.Guardrails.Middleware.AIGuardrailChatClient.GetResponseAsync(IEnumerable`1 chatMessages, ChatOptions options, CancellationToken cancellationToken)
at Umbraco.AI.Core.Chat.Middleware.AITrackingChatClient.GetResponseAsync(IEnumerable`1 chatMessages, ChatOptions options, CancellationToken cancellationToken)
at Umbraco.AI.Core.Analytics.Usage.Middleware.AIUsageRecordingChatClient.GetResponseAsync(IEnumerable`1 chatMessages, ChatOptions options, CancellationToken cancellationToken)
at Umbraco.AI.Core.AuditLog.Middleware.AIAuditingChatClient.GetResponseAsync(IEnumerable`1 chatMessages, ChatOptions options, CancellationToken cancellationToken)
Steps to reproduce
So to replicate this, I first set up a test site using Umbraco 17.3 and the earlier version of Umbraco.AI etc, to check that the community AI.LogAnalyser package worked fine and was correctly configured (I'm using a free Gemini 3.1 Flash Lite preview model).
I set the site up using these dotnet commands:
dotnet new install Umbraco.Templates@17.3.5 --force
dotnet new umbraco --force -n "AITestSite" --friendly-name "Administrator" --email "admin@example.com" --password "1234567890" --development-database-type SQLite
dotnet add "AITestSite" package Umbraco.AI --version 1.10.1
dotnet add "AITestSite" package Umbraco.AI.Google --version 1.1.5
dotnet add "AITestSite" package Umbraco.Community.AI.LogAnalyser
I can confirm that all was working with the AI.LogAnalyser package fine at this point - clicking the button did return AI analysis for the selected error.
I then upgraded to vLatest for all packages, ie:
- Umbraco.Cms 17.4
- Umbraco.AI 1.13
- Umbraco.AI.Google 1.1.10
And now when I use the AI.LogAnalyser package and click the button in the Log Viewer, the reported error occurs again. Is this Umbraco.AI.Google having an incorrect dependency, or something that needs to be reported to the maintainer of Umbraco.Community.AI.LogAnalyser?
Expected result / actual result
No response
Dependencies
No response
Which component is this issue related to?
Other / Not sure
Which Umbraco AI version are you using? (Please write the exact version, example: 10.1.0)
Umbraco.AI 1.13, Umbraco.AI.Google 1.1.10
Bug summary
I was trying to add the AI.LogAnalyser package to the community website (already on 17.4) and couldn't get it to work with a Google API key. The error being reported sounds like it is not the AI.LogAnalyser package at fault, but something in an Umbraco.AI* dependency
Specifics
The error being reported is:
Steps to reproduce
So to replicate this, I first set up a test site using Umbraco 17.3 and the earlier version of Umbraco.AI etc, to check that the community AI.LogAnalyser package worked fine and was correctly configured (I'm using a free Gemini 3.1 Flash Lite preview model).
I set the site up using these dotnet commands:
I can confirm that all was working with the AI.LogAnalyser package fine at this point - clicking the button did return AI analysis for the selected error.
I then upgraded to vLatest for all packages, ie:
And now when I use the AI.LogAnalyser package and click the button in the Log Viewer, the reported error occurs again. Is this Umbraco.AI.Google having an incorrect dependency, or something that needs to be reported to the maintainer of
Umbraco.Community.AI.LogAnalyser?Expected result / actual result
No response
Dependencies
No response