Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When I enter with out adding an api key. #78

Open
Sarthak2233 opened this issue Jan 1, 2025 · 1 comment
Open

When I enter with out adding an api key. #78

Sarthak2233 opened this issue Jan 1, 2025 · 1 comment

Comments

@Sarthak2233
Copy link

After I press enter with out giving API it prints the
β”Œ 🦾 Micro Agent
β”‚
β—† What would you like to do?
β”‚ A function that ...
This is coming after I refused to give API key and press enter
When even I start the server it directly shows the above output and When I type it produces the following error

βœ– 401 Incorrect API key provided: cancel. You can find your API key at https://platform.openai.com/account/api-keys.
at APIError.generate (E:\Codes\builderio clone\micro-agent\node_modules\openai\error.js:48:20)
at OpenAI.makeStatusError (E:\Codes\builderio clone\micro-agent\node_modules\openai\core.js:263:33)
at OpenAI.makeRequest (E:\Codes\builderio clone\micro-agent\node_modules\openai\core.js:306:30)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async getFileSuggestion (E:\Codes\builderio clone\micro-agent\src\helpers\llm.ts:142:22)
at async interactiveMode (E:\Codes\builderio clone\micro-agent\src\helpers\interactive-mode.ts:55:33)
at async E:\Codes\builderio clone\micro-agent\src\cli.ts:132:11

micro-agent v0.1.5

Please open a Bug report with the information above:
https://github.com/BuilderIO/micro-agent/issues/new
@Sarthak2233
Copy link
Author

Please look into it ..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant