logoalt Hacker News

throwa356262 • yesterday at 12:01 PM • 1 reply • view on HN

I think the router format needs to be standardised. The openai chat API doesnt work great for routers.

I haven't tested oh-my-pi, maybe it works. Can be a last resort (but I prefer the simplicity of pi).


Replies

skeledrew • yesterday at 12:53 PM

Oh I don't mean bootstrap a full router service; just the connection to any. Very simple because every router worth using implements the OpenAI and/or Anthropic API specs. The only thing that's really "custom" about a router that's relevant to base agent functionality is how to fetch and parse the list of models.

A router service too should be fairly simple to setup though, as it's just a map of inference sources. The real work is in the deals struck with all those sources to get tokens priced so they can earn.