Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
# Changelog

## Unreleased
## 0.7.4 - 2026-10-05

- Use the Provider API's OpenAI Responses wire (`/provider/v1/responses`) for models whose `/provider/v1/models` entry advertises `/responses`, keeping OpenAI Chat Completions for chat-only models and Anthropic Messages for Claude. The wire is resolved per model from `supported_endpoints`, falling back to Chat Completions when the catalog omits the field.
- Use the Provider API's OpenAI Responses wire (`/provider/v1/responses`) for models whose `/provider/v1/models` entry advertises `/responses`, keeping OpenAI Chat Completions for chat-only models and Anthropic Messages for Claude. The wire is resolved per model from `supported_endpoints`, falling back to Chat Completions when the catalog omits the field. This also enables prompt caching (`prompt_cache_key` is forwarded on `/responses` but ignored on `/chat/completions`): repeated prefixes bill at cache-read instead of full input price ([#132](https://github.com/patlux/pi-commandcode-provider/issues/132), [#133](https://github.com/patlux/pi-commandcode-provider/pull/133)).
- Sweep orphaned `commandcode-models.json.<pid>.tmp` files older than one hour on the next successful catalog refresh, and use a unique temp name per attempt so concurrent hosts never share one. Hosts killed mid-write no longer accumulate temp files ([#130](https://github.com/patlux/pi-commandcode-provider/issues/130), [#131](https://github.com/patlux/pi-commandcode-provider/pull/131)).

### Contributors

- @Mario-pereyra — designed the OpenAI Responses wire and authored the routing implementation carried forward in #133 (#124).
- @maxitromer — traced the missing cache key on the Provider API path and proposed the fix directions (#132).

## 0.7.3 - 2026-09-28

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pi-commandcode-provider",
"version": "0.7.3",
"version": "0.7.4",
"description": "pi custom provider for Command Code API (commandcode.ai)",
"type": "module",
"keywords": [
Expand Down
Loading