IsReadOnly returns true when the session is in read-only mode and no new messages should be sent to the LLM.
()
| 1099 | // IsReadOnly returns true when the session is in read-only mode and no new |
| 1100 | // messages should be sent to the LLM. |
| 1101 | func (a *App) IsReadOnly() bool { |
| 1102 | return a.readOnly |
| 1103 | } |
| 1104 | |
| 1105 | func (a *App) CompactSession(ctx context.Context, cancel context.CancelFunc, additionalPrompt string) { |
| 1106 | a.cancel = cancel |
no outgoing calls