Conversation
|
FWIW, with the changes I have thus far, tapes is showing something for the conversation when using opencode and ollama, but I'm seeing some json.Unmarshal errors about tools. When I fix those errors, I'm seeing the conversation getting recorded, but it doesn't seem like deduplication is happening the way it ought to. |
65c49ab to
2a92eb4
Compare
|
Hi @jpmcb @bdougie, I'm leaving this PR in draft as I'd love some feedback, mainly on the tactic. Downsides are discussed below. To reiterate what this change fixes, I was following along with configuration described on opencode docs and ollama docs, and I found that tapes wasn't recording anything, because its provider configuration was looking for a different format (e.g. the The downside to doing things this way is that every request and response gets json.Unmarshal twice when using There's a related change here in proxy to capture usage statistics with an OpenAI format in Ollama to cover the gap if the ollama format didn't happen to work. This all does appear to work as expected as far as tapes capturing conversations when I test locally. There are 3 more areas for improvement that would come to light with this change:
|
This PR resolves #137.