input_handlers
Class info¶
Classes¶
| Name | Children | Inherits |
|---|---|---|
| DefaultInputHandler llmling_models.models.input_model.input_handlers Default input handler using standard input. |
||
| InputHandler llmling_models.models.input_model.input_handlers Protocol for input handlers. |
🛈 DocStrings¶
Input handling for interactive models.
DefaultInputHandler
¶
Bases: InputHandler
Default input handler using standard input.
Source code in src/llmling_models/models/input_model/input_handlers.py
format_messages
¶
Format messages for display.
Source code in src/llmling_models/models/input_model/input_handlers.py
get_input
¶
stream_input
async
¶
Simulate streaming input using standard input.
Source code in src/llmling_models/models/input_model/input_handlers.py
InputHandler
¶
Bases: Protocol
Protocol for input handlers.