antirez / antirez/ds4

Question: why does readme recommend using openai-completions api for coding agent usage.

Open
#113 3 comments 0 reactions 0 assignees View on GitHub
documentation
Dominant language
C
Stars
22.4k
Forks
2.1k
Avg merge
2d 13h
Merged PRs (30d)
5

Description

I noticed in the [README.md ](https://github.com/antirez/ds4#agent-client-usage)that the default recommendation is to use the openai-completions api within opencode and pi.

There is no motivation listed and I would like to know if there was a reason this was chosen?

From my experience working on https://github.com/mozilla-ai/any-llm I have seen that the OpenAI Completions API is generally poorly suited for agentic use cases and that the Anthropic Messages API or the newer OpenResponses (open source spec of OpenAI Responses API) are the recommended ways to use LLMs for agentic purposes.

pi.dev supports the use of the Anthropic Messages API and based on my current understanding, it would be best for ds4 to recommend this as the setup for using this codebase within pi.dev.

Any thoughts or disagreements before I post up a Pull Request for the change? Thanks!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.