blob: 45500fbc191e24825c0b377cac5dc708b2700adc (
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 Ollama
module Tokens
def self.apply_policies!(_cartridge, payload)
payload[:messages] = payload[:messages].map { |message| message.except(:_meta) }
payload
end
end
end
end
end
|