Sha256: e77f2eda2f306aad8af3233f16586911d2eafa4f9b13ae637ee999e4c422e719

Contents?: true

Size: 302 Bytes

Versions: 7

Compression:

Stored size: 302 Bytes

Contents

# 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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
nano-bots-3.4.0 logic/providers/ollama/tokens.rb
nano-bots-3.3.0 logic/providers/ollama/tokens.rb
nano-bots-3.2.0 logic/providers/ollama/tokens.rb
nano-bots-3.0.1 logic/providers/ollama/tokens.rb
nano-bots-3.0.0 logic/providers/ollama/tokens.rb
nano-bots-2.5.1 logic/providers/ollama/tokens.rb
nano-bots-2.5.0 logic/providers/ollama/tokens.rb