We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2217f9 commit 0caf067Copy full SHA for 0caf067
llm-bedrock/src/lib.rs
@@ -80,7 +80,7 @@ fn get_bedrock_client() -> Result<Arc<Bedrock>, llm::Error> {
80
}
81
82
thread_local! {
83
- static BEDROCK_CLIENT: RefCell<Option<Arc<Bedrock>>> = RefCell::new(None);
+ static BEDROCK_CLIENT: RefCell<Option<Arc<Bedrock>>> = const { RefCell::new(None) };
84
85
86
type DurableBedrockComponent = DurableLLM<BedrockComponent>;
0 commit comments