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

Added public property to see if the server is listening #41

Conversation

BruceKristelijn
Copy link
Contributor

Had some trouble to know if the server was active from outside the LLM component. Because of this I added a property (ServerListening) to the Llm.cs. Had the idea it might be usefull.

Runtime/LLM.cs Outdated
@@ -41,6 +41,11 @@ public class LLM : LLMClient
private bool serverListening = false;
Copy link
Collaborator

Choose a reason for hiding this comment

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

thanks, good point!
Could you make this variable public instead?

Copy link
Contributor Author

@BruceKristelijn BruceKristelijn Jan 22, 2024

Choose a reason for hiding this comment

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

Changed it!

@amakropoulos amakropoulos added the enhancement New feature or request label Jan 22, 2024
@amakropoulos amakropoulos self-requested a review January 22, 2024 16:29
Copy link
Collaborator

@amakropoulos amakropoulos left a comment

Choose a reason for hiding this comment

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

Approved, thanks ⭐!

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

Successfully merging this pull request may close these issues.

2 participants