reasoning

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Copyright 2026 Teradata

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Package reasoning provides a stub reasoning dialog for Loom.

Index

Constants

View Source
const ReasoningDialogID = "reasoning"

ReasoningDialogID is the dialog ID.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

type Model struct {
	// contains filtered or unexported fields
}

Model is a stub reasoning dialog.

func New

func New() *Model

New creates a new reasoning dialog stub.

func (*Model) ID

func (m *Model) ID() dialogs.DialogID

ID returns the dialog ID.

func (*Model) Init

func (m *Model) Init() tea.Cmd

Init initializes the model.

func (*Model) Position

func (m *Model) Position() (int, int)

Position returns the dialog position.

func (*Model) SetSize

func (m *Model) SetSize(width, height int)

SetSize sets the dialog size.

func (*Model) Update

func (m *Model) Update(msg tea.Msg) (util.Model, tea.Cmd)

Update handles messages.

func (*Model) View

func (m *Model) View() string

View renders the model.

type ReasoningEffortChangedMsg

type ReasoningEffortChangedMsg struct {
	Effort string
}

ReasoningEffortChangedMsg is sent when the reasoning effort is changed.

type ReasoningEffortSelectedMsg

type ReasoningEffortSelectedMsg struct {
	Effort string
}

ReasoningEffortSelectedMsg is sent when a reasoning effort level is selected.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL