Method: LLM::Shell::Config#to_h

Defined in:
lib/llm/shell/config.rb

#to_hHash

Returns:

  • (Hash)


20
21
22
# File 'lib/llm/shell/config.rb', line 20

def to_h
  toml[@provider] || {}
end