mirror of
https://github.com/discourse/discourse-ai.git
synced 2025-07-08 23:32:45 +00:00
This change moves all the personas code into its own module. We want to treat them as a building block features can built on top of, same as `Completions::Llm`. The code to title a message was moved from `Bot` to `Playground`.
14 lines
288 B
Ruby
14 lines
288 B
Ruby
# frozen_string_literal: true
|
|
|
|
RSpec.describe DiscourseAi::Personas::Researcher do
|
|
let :researcher do
|
|
subject
|
|
end
|
|
|
|
it "renders schema" do
|
|
expect(researcher.tools).to eq(
|
|
[DiscourseAi::Personas::Tools::Google, DiscourseAi::Personas::Tools::WebBrowser],
|
|
)
|
|
end
|
|
end
|