~/bend-docscommunity

0xbfb67181 fails

0xbfb6718181103ac566eb0ff5308d47ac

An unofficial OpenAI SDK for Bend, with typed requests, streaming, and tool calling.

Anonymous package: import it by hash.

Earlier versions (1)
Published
2026-09-30
Size
47,278 bytes, 5 files
License
MIT (LICENSE)
Declarations
0 laws (0 proved), 105 defs, 19 types

Import

import 0xbfb6718181103ac566eb0ff5308d47ac/docs.bend as Docs
import 0xbfb6718181103ac566eb0ff5308d47ac/json.bend as Json
import 0xbfb6718181103ac566eb0ff5308d47ac/openai.bend as Openai
import 0xbfb6718181103ac566eb0ff5308d47ac/transport.bend as Transport

Modules

Other files

Dependencies

No imports from other hub packages.

Dependents

No package in this build imports it.

Status on bend 2.0.36

FileStatusChecker saysTime
docs.bendchecks ALL PROOFS CHECK0.8 s
json.bendrelies on unsafe/foreign 1 def relies on unsafe or foreign code
defs: stringify
output
SOME PROOFS FAIL
Error: 1 def relies on unsafe or foreign code:
- stringify
1.5 s
openai.bendfails - expected : @-R:Type -> @k:(@_:Sigma<&1, &1, Socket, _ => Result<&1, &1, Sigma<&1, &1, U32, _ => String>, String>> -> IO.OP<R>) -> IO.OP<R>
output
Error:
- expected : @-R:Type -> @k:(@_:Sigma<&1, &1, Socket, _ => Result<&1, &1, Sigma<&1, &1, U32, _ => String>, String>> -> IO.OP<R>) -> IO.OP<R>
- observed : @-R:Type -> @k:(@_:Sigma<&1, &1, Socket, _ => Result<&1, &1, Sigma<&1, &1, U32, _ => String>, Maybe<&1, String>>> -> IO.OP<R>) -> IO.OP<R>
Context:
- socket   : Socket
- buffered : String
- next     : @_:Connection -> @-R:Type -> @k:(@_:Read -> IO.OP<R>) -> IO.OP<R>
Location: read_cut
49 |       do IO<Read>:
50>|         received : Socket & Result<&1, &1, U32 & String, String> <- TCP.recv(socket, 4096)
   |                                                                     ^^^^^^^^^^^^^^^^^^^^^^
51 |         chunk(received, buffered, next)
1.1 s
transport.bendfails - expected : @-R:Type -> @k:(@_:Sigma<&1, &1, Socket, _ => Result<&1, &1, Sigma<&1, &1, U32, _ => String>, String>> -> IO.OP<R>) -> IO.OP<R>
output
Error:
- expected : @-R:Type -> @k:(@_:Sigma<&1, &1, Socket, _ => Result<&1, &1, Sigma<&1, &1, U32, _ => String>, String>> -> IO.OP<R>) -> IO.OP<R>
- observed : @-R:Type -> @k:(@_:Sigma<&1, &1, Socket, _ => Result<&1, &1, Sigma<&1, &1, U32, _ => String>, Maybe<&1, String>>> -> IO.OP<R>) -> IO.OP<R>
Context:
- socket   : Socket
- buffered : String
- next     : @_:Connection -> @-R:Type -> @k:(@_:Read -> IO.OP<R>) -> IO.OP<R>
Location: read_cut
49 |       do IO<Read>:
50>|         received : Socket & Result<&1, &1, U32 & String, String> <- TCP.recv(socket, 4096)
   |                                                                     ^^^^^^^^^^^^^^^^^^^^^^
51 |         chunk(received, buffered, next)
1.2 s