diff --git a/sandbox/BedrockBlazorApp1/Components/Pages/Home.razor.cs b/sandbox/BedrockBlazorApp1/Components/Pages/Home.razor.cs index 25940df..422d1d3 100644 --- a/sandbox/BedrockBlazorApp1/Components/Pages/Home.razor.cs +++ b/sandbox/BedrockBlazorApp1/Components/Pages/Home.razor.cs @@ -9,8 +9,8 @@ namespace BedrockBlazorApp1.Components.Pages; public partial class Home { [Inject] - public AmazonBedrockRuntimeClient BedrockClient { get; init; } - private BedrockAnthropicClient anthropic; + public required AmazonBedrockRuntimeClient BedrockClient { get; init; } + private BedrockAnthropicClient anthropic = default!; double temperature = 1.0; string textInput = ""; diff --git a/sandbox/BedrockConsoleApp/Program.cs b/sandbox/BedrockConsoleApp/Program.cs index f6f9b29..424151d 100644 --- a/sandbox/BedrockConsoleApp/Program.cs +++ b/sandbox/BedrockConsoleApp/Program.cs @@ -7,7 +7,6 @@ using System.Buffers; using System.Collections.Generic; using System.Formats.Asn1; -using System.IO.Pipelines; using System.Reflection.PortableExecutable; using System.Runtime.CompilerServices; using System.Runtime.InteropServices.ObjectiveC; diff --git a/src/Claudia/StreamMessageReader.cs b/src/Claudia/StreamMessageReader.cs index 765a71a..4a485b6 100644 --- a/src/Claudia/StreamMessageReader.cs +++ b/src/Claudia/StreamMessageReader.cs @@ -35,7 +35,6 @@ public async IAsyncEnumerable ReadMessagesAsync([Enumerator yield break; } } - } }