Skip to content

Commit

Permalink
Fix Chatgpt readme (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
ferranbt authored Mar 7, 2024
1 parent 51f5ecf commit 84ddafc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ import "suave-std/protocols/ChatGPT.sol";
contract Example {
function example() {
ChatGPT chatgpt = new ChatGPT("apikey");
ChatGPT.Message[] memory messages = new ChatGPT.Message[](1);
messages[0] = ChatGPT.Message(ChatGPT.Role.User, "How do I write a Suapp with suave-std?");
Expand Down

0 comments on commit 84ddafc

Please sign in to comment.