blob: a3e4240a5fc65215dc01b9c63a33d0e8829e3b68 [file] [log] [blame]
Sketch🕴️305f8172026-02-27 13:58:43 +04001package loop
2
3import (
4 "github.com/anthropics/anthropic-sdk-go"
5 "github.com/anthropics/anthropic-sdk-go/option"
6)
7
8type Client struct {
9 c anthropic.Client
10}
11
12func NewClient(key string) *Client {
13 return &Client{
14 c: anthropic.NewClient(
15 option.WithAPIKey(key),
16 ),
17 }
18}