eve / polLLM.py

Commit History

Update LLM model in configuration and streamline model retrieval in code
849ff4f

Chandima Prabhath commited on

Refactor LLM integration and function call handling; streamline message processing and enhance error handling
7b1490a

Chandima Prabhath commited on

Refactor LLM integration and function call handling; update default model and streamline message processing
e15e135

Chandima Prabhath commited on

Update default LLM model to Nvidia Llama-3_3-Nemotron-Super-49B-v1
be34418

Chandima Prabhath commited on

Fix OpenAI client initialization by setting the api_key to the environment variable
cb9e3eb

Chandima Prabhath commited on

Update LLM model and API configuration; modify example prompt for testing
8d28aeb

Chandima Prabhath commited on

Remove max_tokens parameter from LLM request in generate_llm function for cleaner API call.
5c8a7b9

Chandima Prabhath commited on

Refactor LLM functions by removing unused summarize, translate, and meme functions; update generate_llm to increase max_tokens limit for improved response handling.
9e02558

Chandima Prabhath commited on

Refactor error handling in generate_llm to raise LLMBadRequestError on HTTP 400; add clear_history function to reset conversation history on bad requests.
7cda32d

Chandima Prabhath commited on

Refactor generate_llm function for improved readability; streamline parameter assignments and enhance error handling for 400 Bad Request responses.
dba77ac

Chandima Prabhath commited on

Refactor OpenAI client initialization to use hardcoded base URL and API key; simplify generate_llm function by removing model parameter.
8a6c511

Chandima Prabhath commited on

Refactor generate_llm function to remove max_tokens and temperature parameters; use hardcoded defaults instead.
123c627

Chandima Prabhath commited on

Refactor LLM settings to use hardcoded defaults for model and max tokens; remove reliance on config.yaml for these parameters.
ea1580e

Chandima Prabhath commited on

Enhance logging and error handling across modules; refactor image generation and upload processes; update configuration for image generation parameters.
5f26e9c

Chandima Prabhath commited on

Enhance voice reply function to include a friendly prompt; implement retry logic with delay in LLM generation
c187bdf

Chandima Prabhath commited on

Increase max_tokens for LLM generation to 8000; update example usage comment
d8d0078

Chandima Prabhath commited on

Refactor trivia and weather functions; remove trivia-related code and update help text
a2104ab

Chandima Prabhath commited on

Refactor URL construction in generate_llm function for consistency; adjust parameter order for clarity.
d8d7161

Chandima Prabhath commited on

Increase random seed range to enhance variability in image and trivia generation across multiple modules
e371810

Chandima Prabhath commited on

Fix model parameter in Pollinations API URL to use 'openai-large' for improved performance
5066509

Chandima Prabhath commited on

Enhance trivia question generation prompt for clarity and enforce strict JSON format; add debug logging for random seed in LLM URL construction.
ed8fee4

Chandima Prabhath commited on

Enhance app functionality with inactivity monitoring, startup messaging, and improved command responses; update configuration for text and voice replies.
ff069bf

Chandima Prabhath commited on