Skip to content

fix: Lua LLM/simpleLLM data format#1

Open
alattalatta wants to merge 2 commits into
kwaroran:masterfrom
alattalatta:patch-1
Open

fix: Lua LLM/simpleLLM data format#1
alattalatta wants to merge 2 commits into
kwaroran:masterfrom
alattalatta:patch-1

Conversation

@alattalatta
Copy link
Copy Markdown

Looking at the latest runLua(), LLM() expects role and content, not data. The return data also changed from message to result.

simpleLLM() returns a table just like LLM() instead of a string.

@alattalatta
Copy link
Copy Markdown
Author

It seems like even though they are async functions, I should not :await() those because the interface calls :await() for me? It took me some efforts to find out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant