Documentation
¶
Overview ¶
Package fim is the public Fill-in-the-Middle code completion interface - a standalone client library separate from the code_complete agent tool. FIM is explicitly suited to IDE integrations and in-editor ghost text: a host application (e.g. an editor UI) can call completion directly for each keystroke/pause without an LLM tool-calling loop deciding whether to call it - that decision doesn't make sense for this use case, the human (or editor) already triggered it deterministically.
Index ¶
Constants ¶
const ( EventContentDelta = internalfim.EventContentDelta EventComplete = internalfim.EventComplete EventError = internalfim.EventError FinishReasonStop = internalfim.FinishReasonStop FinishReasonLength = internalfim.FinishReasonLength FinishReasonUnknown = internalfim.FinishReasonUnknown )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Completer ¶
type Completer = internalfim.Completer
Completer is the interface for FIM providers.
type EventType ¶
type EventType = internalfim.EventType
EventType identifies the type of a streaming FIM event.
type FinishReason ¶
type FinishReason = internalfim.FinishReason
FinishReason indicates why the model stopped generating.
type Request ¶
type Request = internalfim.Request
Request holds the parameters for a FIM completion call.
type Response ¶
type Response = internalfim.Response
Response holds the result of a completed FIM call.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package fimproviders exposes seshat's fim.Completer implementations for direct use by a host application, independent of the agent/tool loop.
|
Package fimproviders exposes seshat's fim.Completer implementations for direct use by a host application, independent of the agent/tool loop. |