Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.

Commit 6c9b560

Browse files
authored
Fix WIT generation (#316)
* Update golem_agent wasm with latest sdk version * update agent wasm * fix hanging during wit generation
1 parent d844e81 commit 6c9b560

File tree

1 file changed

+1
-1
lines changed
  • golem-cli/src/model/agent

1 file changed

+1
-1
lines changed

golem-cli/src/model/agent/wit.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ impl AgentWrapperGeneratorContextState {
491491
fn find_unused_name(&self, name: String) -> String {
492492
let mut current = name.clone();
493493
let mut counter = 1;
494-
while self.used_names.contains(&name) {
494+
while self.used_names.contains(&current) {
495495
current = format!("{name}{counter}");
496496
counter += 1;
497497
}

0 commit comments

Comments
 (0)