Refactor
This commit is contained in:
parent
c62d126bdc
commit
9b80f6733d
4 changed files with 146 additions and 122 deletions
7
completion/provider.go
Normal file
7
completion/provider.go
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
package completion
|
||||
|
||||
import "context"
|
||||
|
||||
type CompletionProvider interface {
|
||||
Complete(ctx context.Context, prompt string) (string, error)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue