llm.bend fails
raw source on the hub · import bend-kit-llm@0.2.0.0/llm.bend as Llm
LLM client for the Anthropic Messages and OpenAI Chat Completions APIs, with SSE streaming. Source: https://github.com/paymog/bend-kit/tree/main/llm
8 imports
import Base import ./sse.bend as Sse import bend-kit-hairpin@0.2.1.0/hairpin.bend as Hairpin import bend-kit-hairpin@0.2.1.0/retry.bend as Retry import bend-kit-http@0.23.0.1/http.bend as Http import 0x584fc27920487ceab242392391418d7f/json.bend as Json import 0x49814d83de8f70993a43e1002be29ecd/bytes.bend as Bytes import 0xcfc8be7b076f41f95c8e118383892d55/encoding.bend as Enc
The reader could not load this file (at 0x75e7d19d0e4887c8e9651d356bafc276/http2.bend:335). What bend.ts says:
Error:
- expected : a fresh constructor name (duplicate declaration: Ready)
- observed : 'Ready'
Location:
334 | type Reply is Type:
335>| Ready{client: Client, writes: List<&1, Bytes.Bytes>, events: List<&1, ClientEvent>}
| ^^^^^
336 | Failed{error: Error}