Problem
examples/agent.py calls the chosen model with from model_router._http import request_json. Examples are what people copy, and _http is private and may change.
Suggested fix
Either:
- give the example its own ~10-line
urllib helper, or
- (bigger) propose a public
Router.complete() in a separate issue.
Done when
Problem
examples/agent.pycalls the chosen model withfrom model_router._http import request_json. Examples are what people copy, and_httpis private and may change.Suggested fix
Either:
urllibhelper, orRouter.complete()in a separate issue.Done when
_examples/agent.pystill runs with anOPENROUTER_API_KEY