Does http-kit server works with bb?
if not, what's a good bb compatible alternative to build http servers with streaming support (SSE)
unasked context: I'm building a LLM mock server, to mock openai, anthropic and other LLMs responses to be able to integration test them in #eca
yes it works with bb
it's included in bb
oh that's awesome, I thought I needed the dep, testing it
unasked pointer, here's my silly mock server that I use for http://betafunk.dk/tjat: https://github.com/grav/tjat/blob/main/randomllm/randomllm.py
cool, I just did like https://clojurians.slack.com/archives/C093426FPUG/p1755191757654789
pretty easy with bb
nice!
Any guess why bb with matcher-combinators the expected/actual print color is always 1-line wrong? 😅
it's weird because I can't repro with simple maps:
(is (match?
{:asidkoaiskaisodkasiodksoiadka 1
:asidjoasjdaiosjdaisojdi 2
:asjdiaojsdiaojaisjdo {:d 3}}
{:asidkoaiskaisodkasiodksoiadka 1 :asidjoasjdaiosjdaisojdi 2
:asjdiaojsdiaojaisjdo {:e 1}}))
the color is not just printedwill take a closer look later, just in case anyone has any clue
perhaps running the unit tests of matcher combinators will reveal something