You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a scenario where our API is lacking.
A PromptError should be raised as soon as we are given a prompt object we don't understand:
#!/usr/bin/env rubyllm=LLM.openaikey: ENV["OPENAI_SECRET"]bot=LLM::Bot.new(llm)bot.chat(Object.new)# PromptError should be raised herebot.messages.to_a# But instead it is raised here