Movatterモバイル変換


[0]ホーム

URL:


taskname

package
v2.28.5Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2025 License:AGPL-3.0Imports:12Imported by:0

Details

Repository

github.com/coder/coder

Links

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (ErrNoAPIKey        =xerrors.New("no api key provided")ErrNoNameGenerated =xerrors.New("no task name generated"))

Functions

funcGenerate

func Generate(ctxcontext.Context, promptstring, opts ...Option) (string,error)

funcGenerateFallback

func GenerateFallback()string

funcGetAnthropicAPIKeyFromEnv

func GetAnthropicAPIKeyFromEnv()string

funcGetAnthropicModelFromEnv

func GetAnthropicModelFromEnv() anthropic.Model

Types

typeOption

type Option func(o *options)

funcWithAPIKey

func WithAPIKey(apiKeystring)Option

funcWithModel

func WithModel(model anthropic.Model)Option

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp