zvdy

Results 46 comments of zvdy

whoops, did not think about this, i had a few nil checkers in the impl but i need to also change it in here https://github.com/GoogleCloudPlatform/kubectl-ai/blob/a5ea5cbb413e5d3dfaf1c80ac68ebe1fdcfd3261/pkg/agent/conversation.go#L261-L265 will upload the PR today

@jonatanzafar59 @dorancemc @Shubh10am This is fixed, feel free to re-open if needed! I made sure to test quite a few scenarios selecting 3 and re-selecting 3, 3 then 1 and...

> While we could've used a `--stream` flag, this requires the user to know what streaming is and weather or not their model supports it, my approach to this was...

> > For some reason, this model sometimes get stuck into returning simply kubectl() as a response, still, it appears to be something specific for this model > > >...

Attaching a log snippet showing StreamChunks and how the interaction happens between the cli and endpoints themselves: `/kubectl-ai --llm-provider=grok --model=grok-3-beta "List pods in default namespace"` [log.txt](https://github.com/user-attachments/files/20174180/log.txt)

Thank you so much for testing, would you mind doing a rm on kubectl-ai log and sharing it? I will also try to get my hands on an api key...

## Diagnosis - **Grok**: Works. It streams text, then emits a function call in a single chunk, with the full arguments as a JSON string. - **OpenAI**: Fails. It emits...

>> Sorry for the delay, this was more complex than expected and documentation was limited. Anyhow, it works now, just bear in mind that this strictly works with openai api,...

>> _rebased without -i flag and generated new hashes for all the commits_ Just ran the ci, it should be good now ``` ❯ ./dev/ci/presubmits/go-build.sh ./dev/ci/presubmits/go-vet.sh ./dev/ci/presubmits/verify-autogen.sh ./dev/ci/presubmits/verify-format.sh ./dev/ci/presubmits/verify-gomod.sh go:...

Might be worth it to implement anthropic with [their own go sdk](https://github.com/anthropics/anthropic-sdk-go?tab=readme-ov-file), but, its _~somewhat of a fork_ from openai, you can basically wrap around it with the following: ```...