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

update prompt and bring back loader #462

Merged
merged 11 commits into from
Oct 22, 2024
Merged

Conversation

samlhuillier
Copy link
Collaborator

No description provided.

Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

This pull request enhances the chat functionality by updating the agent prompt template and improving the loading state UI for better user experience.

  • Updated default agent prompt in src/components/Chat/ChatConfigComponents/exampleAgents.ts with clearer guidelines for AI responses
  • Added 'waiting-for-first-token' loading state in src/components/Chat/index.tsx to indicate system awaiting initial LLM response
  • Improved loading indicator visibility in src/components/Chat/ChatMessages.tsx by adding padding
  • Enhanced context utilization and tool usage instructions in the default agent prompt template
  • Ensured consistent language use between user queries and AI responses in the updated prompt

3 file(s) reviewed, 1 comment(s)
Edit PR Review Bot Settings | Greptile

@samlhuillier samlhuillier merged commit da9b442 into main Oct 22, 2024
10 checks passed
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

Successfully merging this pull request may close these issues.

1 participant