I'm on a mac M1 with the latest version of crush installed (0.7.4). Charm is doing some dangerous churn which makes it completely unusable.
2025/09/05 20:33:27 DEBU HTTP Request body="{\"contents\":[{\"parts\":[{\"text\":\"Generate a concise title for the following content:\n\nFor some reason, it appears that the \\"custom-openai\\" configuration in my crush.json is resulting in the \\"GPT-5\\" option appearing _twice_ under the \\"custom-openai\\" provider in the TUI for crush. Why would this be happening? Please do some research with deepwiki and press on until you find out exactly what the issue is, at the code level.\"}],\"role\":\"user\"}],\"generationConfig\":{\"maxOutputTokens\":40},\"systemInstruction\":{\"parts\":[{\"text\":\"you will generate a short title based on the first message a user begins a conversation with\n\n- ensure it is not more than 50 characters long\n- the title should be a summary of the user's message\n- it should be one line long\n- do not use quotes or colons\n- the entire text you return will be used as the title\n- never return anything that is more than one sentence (one line) long\n\"}],\"role\":\"user\"},\"tools\":[{}]}" method=POST source=/home/runner/work/crush/crush/internal/log/http.go:46 url="map[ForceQuery:false Fragment: Host:generativelanguage.googleapis.com OmitHost:false Opaque: Path:/v1beta/models/gemini-2.5-flash:streamGenerateContent RawFragment: RawPath: RawQuery:alt=sse Scheme:https User:<nil>]"
2025/09/05 20:33:29 DEBU HTTP Response body="" content_length=0 duration_ms=1982 error=<nil> headers="map[Alt-Svc:[h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000] Content-Disposition:[attachment] Content-Length:[0] Content-Type:[text/event-stream] Date:[Sat, 06 Sep 2025 00:33:29 GMT] Server:[scaffolding on HTTPServer2] Server-Timing:[gfet4t7; dur=1958] Vary:[Origin X-Origin Referer] X-Content-Type-Options:[nosniff] X-Frame-Options:[SAMEORIGIN] X-Xss-Protection:[0]]" source=/home/runner/work/crush/crush/internal/log/http.go:68 status="200 OK" status_code=200
2025/09/05 20:33:29 DEBU HTTP Request body="{\"contents\":[{\"parts\":[{\"text\":\"Generate a concise title for the following content:\n\nFor some reason, it appears that the \\"custom-openai\\" configuration in my crush.json is resulting in the \\"GPT-5\\" option appearing _twice_ under the \\"custom-openai\\" provider in the TUI for crush. Why would this be happening? Please do some research with deepwiki and press on until you find out exactly what the issue is, at the code level.\"}],\"role\":\"user\"}],\"generationConfig\":{\"maxOutputTokens\":40},\"systemInstruction\":{\"parts\":[{\"text\":\"you will generate a short title based on the first message a user begins a conversation with\n\n- ensure it is not more than 50 characters long\n- the title should be a summary of the user's message\n- it should be one line long\n- do not use quotes or colons\n- the entire text you return will be used as the title\n- never return anything that is more than one sentence (one line) long\n\"}],\"role\":\"user\"},\"tools\":[{}]}" method=POST source=/home/runner/work/crush/crush/internal/log/http.go:46 url="map[ForceQuery:false Fragment: Host:generativelanguage.googleapis.com OmitHost:false Opaque: Path:/v1beta/models/gemini-2.5-flash:streamGenerateContent RawFragment: RawPath: RawQuery:alt=sse Scheme:https User:<nil>]"
2025/09/05 20:33:29 DEBU HTTP Response body="" content_length=0 duration_ms=564 error=<nil> headers="map[Alt-Svc:[h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000] Content-Disposition:[attachment] Content-Length:[0] Content-Type:[text/event-stream] Date:[Sat, 06 Sep 2025 00:33:30 GMT] Server:[scaffolding on HTTPServer2] Server-Timing:[gfet4t7; dur=545] Vary:[Origin X-Origin Referer] X-Content-Type-Options:[nosniff] X-Frame-Options:[SAMEORIGIN] X-Xss-Protection:[0]]" source=/home/runner/work/crush/crush/internal/log/http.go:68 status="200 OK" status_code=200
That loop of request and response to the google gemini API happens over and over and over again, which actually significantly spiked my cloud costs while charm decided to run amok for several minutes - I didn't even know it was happening until I tailed the logs. No idea why the response content is empty, but the debounce logic here is downright hostile considering you're asking users to supply their own API keys.
I'm on a mac M1 with the latest version of crush installed (0.7.4). Charm is doing some dangerous churn which makes it completely unusable.
From the charm logs:
That loop of request and response to the google gemini API happens over and over and over again, which actually significantly spiked my cloud costs while charm decided to run amok for several minutes - I didn't even know it was happening until I tailed the logs. No idea why the response content is empty, but the debounce logic here is downright hostile considering you're asking users to supply their own API keys.