Skip to content

Commit

Permalink
fix display issues
Browse files Browse the repository at this point in the history
  • Loading branch information
harrisonvanderbyl committed Jan 9, 2024
1 parent 52a4694 commit 79d14c1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion godot-rwkv.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,10 @@ class Agent : public Resource {
if (context.size() == 0) {
return "";
}
return String(tokenizer->decode(context).c_str());
auto contexta = tokenizer->decode(context);
String contexts;
contexts.parse_utf8(contexta.c_str());
return contexts;
}

// get last token
Expand Down

0 comments on commit 79d14c1

Please sign in to comment.