Class: Rixie::CLI::Commands::Context
- Inherits:
-
Base
- Object
- Base
- Rixie::CLI::Commands::Context
show all
- Defined in:
- lib/rixie/cli/commands/context.rb
Instance Method Summary
collapse
Methods inherited from Base
#complete, #initialize
Instance Method Details
#call(_arg, cli:) ⇒ Object
11
12
13
14
|
# File 'lib/rixie/cli/commands/context.rb', line 11
def call(_arg, cli:)
renderer.info("Context size", "~#{cli.current_context_size} tokens")
renderer.info("Entries", cli.current_context_length.to_s)
end
|
#description ⇒ Object
9
|
# File 'lib/rixie/cli/commands/context.rb', line 9
def description = "Show current context size"
|
#name ⇒ Object
7
|
# File 'lib/rixie/cli/commands/context.rb', line 7
def name = "context"
|