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

dont remove agents silently #120

Closed
teto opened this issue Mar 24, 2024 · 1 comment
Closed

dont remove agents silently #120

teto opened this issue Mar 24, 2024 · 1 comment

Comments

@teto
Copy link
Collaborator

teto commented Mar 24, 2024

Opening a follow up of #93 (comment) not to pollute the PR:
in

if type(agent) ~= "table" or not agent.model or not agent.system_prompt then

gp.nvim removes silently agents that dont specify .model agent.system_prompt.

It's not possible to understand without looking at the code, I think it would be better to generate an error during startup, at minimum notify the user in checkhealth gp

@Robitx
Copy link
Owner

Robitx commented Jul 12, 2024

image

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

2 participants