Skip to content

Commit

Permalink
make small adjustement for autogenerated sessionId
Browse files Browse the repository at this point in the history
  • Loading branch information
Veselin Pizurica authored and Veselin Pizurica committed Nov 15, 2024
1 parent 3669cc5 commit cc877ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/aiBot.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class GenAIBot {
return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) {
const r = Math.random() * 16 | 0;
const v = c === 'x' ? r : (r & 0x3 | 0x8);
return v.toString(16);
return this.template + "_" + v.toString(16);
})
}

Expand Down

0 comments on commit cc877ed

Please sign in to comment.