Skip to main content

Send your first prompt

What it is

A prompt is a message you type in the composer. This page sends one in a project that already has a working provider.

What it is for

  • Checking that the provider answers.
  • Learning the keys and commands you need in the first session.

How

  1. Start loom in your project folder.
  2. Type a short question about the project, for example What does this folder contain?.
  3. Press Enter.

Example​

> What does this folder contain? List the main files.

Loomcoding main screen in a terminal: a conversation with a bash call and its filtered output, the composer at the bottom with its hint, and the status bar with the keyboard shortcuts.

Keys and commands​

Key or commandDefaultRequires restartWhat it does
EnterNot applicableNoSends the prompt.
Ctrl+JNot applicableNoInserts a new line in the composer.
/helpNot applicableNoOpens the keyboard shortcuts. /help model explains one command.
/cancelNot applicableNoCancels the active turn and pauses the queue of pending prompts.
/newNot applicableNoStarts a new session. Only when the agent is idle.
/sessionsNot applicableNoSwitches to another session. Only when the agent is idle.

Result​

  • When the provider answers, the reply appears in the conversation.
  • When the agent asks to run a tool, a permission dialog appears. Answer it with the keys the dialog shows.
  • If the reply says No API key configured, go back to Connect a cloud provider.
  • If the provider shows down, go to Run a local model server.

Next steps​