claude-code-proxy icon indicating copy to clipboard operation
claude-code-proxy copied to clipboard

how to user gpt-5

Open xingke2023 opened this issue 1 year ago • 7 comments

how to user gpt-5

xingke2023 avatar Aug 08 '25 04:08 xingke2023

I've tried using the model string "gpt-5-nano" but the server throws "TypeError: Object of type Response is not JSON serializable"

cuddeford avatar Aug 08 '25 06:08 cuddeford

+1

amitok2 avatar Aug 08 '25 09:08 amitok2

same here

McAvity avatar Aug 08 '25 10:08 McAvity

I was able to get it working yesterday after release, but GPT-5 just kept calling the todo tools and stopping instead of answering my questions. It doesn't seem compatible with claude code as a model in terms of how it calls on tools, as least not as a simple 1:1 proxy. I'd be curious if anyone gets it to work effectively on tool calls

ries9112 avatar Aug 08 '25 12:08 ries9112

I was able to get it working yesterday after release, but GPT-5 just kept calling the todo tools and stopping instead of answering my questions. It doesn't seem compatible with claude code as a model in terms of how it calls on tools, as least not as a simple 1:1 proxy. I'd be curious if anyone gets it to work effectively on tool calls

How?

amitok2 avatar Aug 11 '25 16:08 amitok2

hi All

  • I fixed it in my fork of another fork here https://github.com/ericmichael/claude-mirror/compare/main...satomic:claude-mirror:main
  • it's a emperature issue, gpt-5 only do not support emperature, so you must set the emperature to 1

satomic avatar Aug 18 '25 14:08 satomic

How is gpt5 work by your experience?

בתאריך יום ב׳, 18 באוג׳ 2025 ב-17:04 מאת Xuefeng @.***>:

satomic left a comment (1rgs/claude-code-proxy#46) https://github.com/1rgs/claude-code-proxy/issues/46#issuecomment-3197081624

hi All

— Reply to this email directly, view it on GitHub https://github.com/1rgs/claude-code-proxy/issues/46#issuecomment-3197081624, or unsubscribe https://github.com/notifications/unsubscribe-auth/APIN7NXP7LLDXRR2D5U5VL33OHMQHAVCNFSM6AAAAACDMYRXCWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTCOJXGA4DCNRSGQ . You are receiving this because you commented.Message ID: @.***>

amitok2 avatar Aug 18 '25 14:08 amitok2