Public entry point for cljs-claude. I/O-agnostic: all SDK calls route
through functions supplied on the context map, so library code never
opens sockets, processes, or streams directly.
Public entry point for cljs-claude. I/O-agnostic: all SDK calls route through functions supplied on the `context` map, so library code never opens sockets, processes, or streams directly.
(chat context prompt)One-shot chat completion.
Args: context - map with at least {:send-fn fn}. :send-fn receives the prepared request and returns a promesa promise resolving to the response. prompt - user prompt (string).
Returns: A promesa promise resolving to the response from :send-fn.
One-shot chat completion.
Args:
context - map with at least {:send-fn fn}. :send-fn receives the
prepared request and returns a promesa promise resolving
to the response.
prompt - user prompt (string).
Returns:
A promesa promise resolving to the response from :send-fn.cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |