We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using Cline with CodeGate, CodeGate seems to break/garble some of the information that Cline sends in the system configuration to Anthropic.
A request made directly with Cline looks like this:
{ "model": "claude-3-5-sonnet-20241022", "max_tokens": 8192, "temperature": 0, "system": [ { "text": "...etc...", "type": "text", "cache_control": { "type": "ephemeral" } } ],
When proxying through CodeGate the request looks like this:
"temperature": 0, "max_tokens": 8192, "system": [ { "type": "text", "text": "[{'text': '...etc...', 'type': 'text', 'cache_control': {'type': 'ephemeral'}}]" } ], "stream": true }
Notice that in the CodeGate version, all the system configuration is serialized into a single message string, which is not what Anthropic expects.
For testing without Codegate:
For testing with Codegate:
ANTHROPIC_BASE_URL=http://127.0.0.1:8080 poetry run codegate serve
Linux (Intel)
VS CODE 1.9.5.3
Cline v3.2.12
Anthropic
claude-3-5-sonnet
CodeGate 0.1.7 (as returned by codegate version), 0ed1365
codegate version
No response
The text was updated successfully, but these errors were encountered:
This issue is caused by these lines. It should be resolved once we wrote our internal representation.
Sorry, something went wrong.
nice - does it mean that this issue should be closed as a duplicate? if so, please close it but mention where it is tracked now
kantord
alex-mcgovern
No branches or pull requests
Describe the issue
When using Cline with CodeGate, CodeGate seems to break/garble some of the information that Cline sends in the system configuration to Anthropic.
A request made directly with Cline looks like this:
When proxying through CodeGate the request looks like this:
Notice that in the CodeGate version, all the system configuration is serialized into a single message string, which is not what Anthropic expects.
Steps to Reproduce
For testing without Codegate:
For testing with Codegate:
ANTHROPIC_BASE_URL=http://127.0.0.1:8080 poetry run codegate serve
Operating System
Linux (Intel)
IDE and Version
VS CODE 1.9.5.3
Extension and Version
Cline v3.2.12
Provider
Anthropic
Model
claude-3-5-sonnet
Codegate version
CodeGate 0.1.7 (as returned by
codegate version
), 0ed1365Logs
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: