blob: 828b7749afb4fd19ca7f48c4de580a244534b41d (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# frozen_string_literal: true
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
|