Skip to content

ThreadItemHookPrompt

Base classes

Name Children Inherits
BaseThreadItem
codexed.models.thread_item
Base class for thread items.

⋔ Inheritance diagram

graph TD
  19277202["thread_item.ThreadItemHookPrompt"]
  2083311648["thread_item.BaseThreadItem"]
  3116041069["base.CodexBaseModel"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  2083311648 --> 19277202
  3116041069 --> 2083311648
  3879467795 --> 3116041069
  2751680898 --> 3879467795

🛈 DocStrings

Bases: BaseThreadItem

Prompt injected by a hook.

Source code in src/codexed/models/thread_item.py
class ThreadItemHookPrompt(BaseThreadItem):
    """Prompt injected by a hook."""

    type: Literal["hookPrompt"] = "hookPrompt"
    fragments: list[HookPromptFragment]

:fa-brands-github: Show source on GitHub