From 54514d9d215e88a7886ec4fbe5a1f0bb31952bd1 Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Mon, 4 Aug 2025 16:58:00 +0530 Subject: [PATCH] feat: add response schema for captain --- enterprise/lib/captain/response_schema.rb | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 enterprise/lib/captain/response_schema.rb diff --git a/enterprise/lib/captain/response_schema.rb b/enterprise/lib/captain/response_schema.rb new file mode 100644 index 000000000..26a6a47a1 --- /dev/null +++ b/enterprise/lib/captain/response_schema.rb @@ -0,0 +1,4 @@ +class Captain::ResponseSchema < RubyLLM::Schema + string :response, description: 'The message to send to the user' + string :reasoning, description: "Agent's thought process", required: false +end