#Is the LLM logic able to pull in secrets
1 messages · Page 1 of 1 (latest)
I don't think the LLM needs to pull secrets from the env in this case? wouldn't you pass your function the secret just like you would if LLM wasn't involved?
Ideally yes, which is what I do with a different module, but only because the secret is provided in the constructor. What if the secret is part of the function that the LLM should be calling?
you typically would construct the object and give it to the llm
for example with the workspace module
ws := dag.Workspace(dagger.WorkspaceOpts{
...
})
coder := dag.Llm().
WithWorkspace(ws).
oh you're saying the secret is a function arg... I'm sure there's a workaround but also it sounds like it could be part of the constructor instead