enum

LLM::Function::SideEffects

Inherits Enum < Comparable < Value < Object

Constants

FileRead = 1
FileWrite = 2
FileMove = 4
FileDelete = 8
DirRead = 16
DirWrite = 32
DirMove = 64
DirDel = 128
NetRead = 256
NetWrite = 512
CommandExec = 1024
None = 0
All = 2047

Instance methods

command_exec?

Returns true if this enum value contains CommandExec

Source
dir_del?

Returns true if this enum value contains DirDel

Source
dir_move?

Returns true if this enum value contains DirMove

Source
dir_read?

Returns true if this enum value contains DirRead

Source
dir_write?

Returns true if this enum value contains DirWrite

Source
file_delete?

Returns true if this enum value contains FileDelete

Source
file_move?

Returns true if this enum value contains FileMove

Source
file_read?

Returns true if this enum value contains FileRead

Source
file_write?

Returns true if this enum value contains FileWrite

Source
net_read?

Returns true if this enum value contains NetRead

Source
net_write?

Returns true if this enum value contains NetWrite

Source
network?

Return true if accesses network

Source
none?
Source
readonly?

Returns true if side-effects are read-only.

Source
value_string

Return a comma-separated value string of flags, or None

Source