ask

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package ask provides AI Q&A with full project context.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ask

func Ask(ctx context.Context, p provider.Provider, question string, s *state.ProjectState, mem *memory.Memory, model string, timeout time.Duration, recentSteps int) (string, error)

Ask calls the provider with a question prompt and returns the answer.

func BuildPrompt

func BuildPrompt(question string, s *state.ProjectState, mem *memory.Memory, recentSteps int) string

BuildPrompt constructs an AI Q&A prompt with full project context.

Types

This section is empty.

Jump to

Keyboard shortcuts

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