You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This results in an error where the connection string may be improperly formatted which results in an error starting the Raygun Host:
2024-11-17T19:38:07
Unhandled exception. System.UriFormatException: Invalid URI: The URI scheme is not valid.
2024-11-17T19:38:07
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind, UriCreationOptions& creationOptions)
2024-11-17T19:38:07
at System.Uri..ctor(String uriString)
2024-11-17T19:38:07
at OllamaSharp.OllamaApiClient..ctor(String uriString, String defaultModel)
2024-11-17T19:38:07
at RaygunAspireWebApp.Program.Main(String[] args) in /src/RaygunAspireWebApp/Program.cs:line 28
The text was updated successfully, but these errors were encountered:
Description
While this works with the Raygun implementation of Ollama this does not currently work with the CommunityToolkit version of Ollama.
Problem
Raygun OllamaResource provides a connection string like:
$"http://{Endpoint.Property(EndpointProperty.Host)}:{Endpoint.Property(EndpointProperty.Port)}"
Where the CommunityToolkit OllamaResource provides a connection string like:
$"Endpoint={PrimaryEndpoint.Property(EndpointProperty.Scheme)}://{PrimaryEndpoint.Property(EndpointProperty.Host)}:{PrimaryEndpoint.Property(EndpointProperty.Port)}"
This results in an error where the connection string may be improperly formatted which results in an error starting the Raygun Host:
The text was updated successfully, but these errors were encountered: