# v0.9.3 Release Notes

> v0.9.2 -> v0.9.3

## Summary

Drops the Ollama Cloud remaining-quota lookup now that upstream reports spend instead of limits since its 2026-08-31 pricing change. Responses-based streaming no longer loses tool call arguments that arrive only at item completion, and the Claude Code tool prompt is rewritten as direct rules.

<details>
<summary>翻譯</summary>

移除 Ollama Cloud 剩餘額度查詢，上游自 2026-08-31 計價調整後改為回報花費而非額度上限。Responses 串流不再遺失僅在項目完成時才送達的 tool call 參數，Claude Code 的 tool prompt 改寫為直接下指令的規則。

</details>

## Changes

### FIX

- Fix Responses API streams dropping a function call's arguments when they arrive only in `response.output_item.done` after another tool call was already seen; arguments are now tracked per output index and emitted from the done event when no earlier event carried them, affecting `openai`, `openai-codex`, `copilot`, `grok` and `grok-oauth` (@pardnchiu) [5fc2076]

<details>
<summary>翻譯</summary>

- 修正 Responses API 串流在已出現其他 tool call 後，若某個 function call 的參數只在 `response.output_item.done` 送達就會遺失的問題；改為依 output index 追蹤參數，先前事件未帶參數時由 done 事件補發，影響 `openai`、`openai-codex`、`copilot`、`grok`、`grok-oauth`

</details>

### UPDATE

- Update the `claude-code` tool prompt into one-rule-per-line directives, leading with the call format and JSON body requirement; the tool-calling protocol is unchanged (@pardnchiu) [5fc2076]

<details>
<summary>翻譯</summary>

- 將 `claude-code` 的 tool prompt 改寫為一行一條的命令式規則，呼叫格式與 JSON body 要求置前；工具呼叫協議不變

</details>

### REMOVE

- Remove `ollamacloud.Usage`; since Ollama Cloud moved to per-token credit pricing on 2026-08-31, its usage endpoint no longer returns `limits.monthly.usage`, only request, token and USD totals, so remaining quota can no longer be derived (@pardnchiu) [5fc2076]

<details>
<summary>翻譯</summary>

- 移除 `ollamacloud.Usage`；Ollama Cloud 自 2026-08-31 改為 per-token 點數計價後，usage endpoint 已不再回傳 `limits.monthly.usage`，只回傳請求數、token 與 USD 統計，無法再推算剩餘額度

</details>

## Scope

- `core/ollamaCloud/` — REMOVE (`usage.go`)
- `core/stream.go` — FIX
- `core/claudeCode/process.go` — UPDATE

---

Generated by [SKILL](https://github.com/pardnchiu/skill-version-generate)
