I've been trying to locally try out a new LLMProvider I've attempted to create that wraps GitHub Copilot (GHCP) Cli inside a container built by dagger since there is no REST API or SDK to call GHCP directly.
I've implemented the LLMClient interface (SendQuery and IsRetryable) and returns LLMResponse type to conform to what I can presume/tell is the "convention" from the other LLMProviders [llm_google.go, llm_anthropic.go, llm_openai.go]
I've run as per the docs dagger call playground terminal and I'm a bit stuck/spinning my wheels on what to do next?
I see that the docker engine built from my forked and cloned version of dagger/dagger which has the new llm_github_copilot.go that I wrote and now I wanted to test by writing a new module that can create a new LLM instance and pass the env vars required by the provider I made (most notably export GITHUB_TOKEN="op://dev/ghcp_pat/credentials)
I'm stuck in the sense that I'm not sure what the right workflow would be to develop in this manner - should I write throw away module within the constructed container/terminal instance? Should I some how point my host machine's dagger engine to the one exposed by the built playground at port :1234?
While I could just run/call dagger in the provided container it feels like the wrong way to do it and would prefer to be able to mount a local (on host) module and write in my ide and then run the module via a dagger call??
What's a typical maintainer/contributor workflow past running dagger call playground terminal or should I be locally rebuilding on the host each new update/change to dagger core?
I tried looking up docs, issues and searching in help to see if this has come up and feel like I've missed something as a n00b 🙂
I presume it is a n00b thing but happy to be a lab rat to update docs too for future me when I inevitably forget how to do it correctly.
thanks in advance!