# frozen_string_literal: true require 'openai' module NanoBot module Logic module OpenAI module Tokens def self.apply_policies!(_cartridge, payload) payload[:messages] = payload[:messages].map { |message| message.except(:_meta) } payload end end end end end