#NotFoundError('Could not find secret')

4 messages · Page 1 of 1 (latest)

eternal veldt
#

I'm trying to test out a model locally, that hasn't been added before. Before that I just want to get the project with no changes working.

But I always run into this error. Can any of you, who know about this help me?

Note: I don't mind posting any of this, as there is no fund on Modal yet and I will change all of this later, once I get it working.

I made it to the below step following this read.me
https://github.com/OpenRouterTeam/openrouter-runner/blob/main/modal/runner/README.md

but am stuck at the download step:

**E:\projectX\openrouter-runner\modal>**modal run runner::download
✓ Initialized. View run at https://modal.com/indexclone/apps/ap-KnHseVrcVhYbKqX2CTzLdt
Stopping app - uncaught exception raised locally: NotFoundError('Could not find secret').

I did:

modal config set-environment dev```

Below is my local file:
***C:\Users\Index\.modal.toml***
```[indexclone]
token_id = "ak-hc57Wel46JtPi7am45DJRI"
token_secret = "as-5EJTlDIIEC7xZ9jLL1SwQz"
active = true
environment = "dev"```

I did:
```modal secret create huggingface HUGGINGFACE_TOKEN=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

modal secret create runner-api RUNNER_API_KEY=RshjKYeF6HyHPS04cmcNluavzHRZSncE```

On hf end:
**Huggingface:**
```Name: Miquliz
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```

Any help is much appreciated. Thank you 🙏
jovial mist
#

@scenic flame do you know?

scenic flame
#

@eternal veldt you might need to add all of the secret groups, even if you're not using it

#

since we added Sentry + Datadog monitoring to runner. You do not need to actually have them btw, just add a blank secret so that at spawn time, the runner can find the secret on modal.