Skip to content

Commit 0caf067

Browse files
committed
chore: fix cargo check error with const refcell
1 parent e2217f9 commit 0caf067

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llm-bedrock/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ fn get_bedrock_client() -> Result<Arc<Bedrock>, llm::Error> {
8080
}
8181

8282
thread_local! {
83-
static BEDROCK_CLIENT: RefCell<Option<Arc<Bedrock>>> = RefCell::new(None);
83+
static BEDROCK_CLIENT: RefCell<Option<Arc<Bedrock>>> = const { RefCell::new(None) };
8484
}
8585

8686
type DurableBedrockComponent = DurableLLM<BedrockComponent>;

0 commit comments

Comments
 (0)