Hi! If I could get a review on this one for better...
# proj-agent
l
Hi! If I could get a review on this one for better support of subscription LMs that’d be appreciated: github.com/OpenHands/software-agent-sdk/pull/4517
c
I believe we have in the codebase already a function
make_llm_completion
doing the same thing, unifying Completions API and Responses API calls. Could we use that?
If yes, then I’d have a second question: • why didn’t the implementor agent, and the reviewer agent, see it?
Found it: make_llm_completion - aha it’s in a
utils.py
🤔 Maybe that’s why, it’s not “at hand” in `llm.py``… We could move it to a class method in
LLM
? Thinking that there’s more than the condenser profile in the codebase: also the title generator uses an LLM completion/responses, and maybe new profiles like Oracle profile or (not sure) a cleanup profile. For all of them the same applies, it seems to me, they should be usable for ChatGPT sub, right
l
ah, sorry, the PR description is wrong, but I already fixed that
just using make_llm_completion
c
Ah!
Sorry, did your agent push? It invents a new one: llm::complete
l
ahh, I guess it didn’t 🤦 , sorry
one second
🙏 1
c
I approved the PR. (My personal preference is typically to not hold maintainers’ PRs, even if there are nits in discussion, I just mention the nits too. 😅 So we don’t have to re-review after the fixes, since typically those are small)