claude

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2024 License: MIT Imports: 24 Imported by: 0

README

claude web

  • 使用 claude web 接口,当前支持 chat 模式,文件对话暂不支持

feature

  • 当token过期时,会发送通知,且在不重启情况下,24小时内不会重复发送

  • 对话前,校验是否 ready ,获取 token,并验证是否可用

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ClaudeName   = "claude"
	ClaudeChatid = "claudeid"
)

Functions

func New

func New(ctx context.Context, cf *Conf, b box.Box) *web

Types

type Conf

type Conf struct {
	// chat
	ChatUuid string `yaml:"chat_id,omitempty"`
	Index    int    `yaml:"index,omitempty"`
}

Jump to

Keyboard shortcuts

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