- Introduced `Groq_AI_Provider_Google` and `Groq_AI_Provider_Groq` classes for handling AI interactions with Google and Groq respectively. - Enhanced `Groq_AI_Provider_Manager` to register and manage multiple AI providers. - Implemented `Groq_AI_Conversation_Manager` for managing conversation IDs and context hashes. - Added `Groq_AI_Generation_Logger` for logging AI generation events and managing log tables. - Developed `Groq_AI_Prompt_Builder` for constructing prompts and processing AI responses. - Established `Groq_AI_Settings_Manager` for managing plugin settings, including context fields and module configurations.
14 lines
543 B
Docker
14 lines
543 B
Docker
FROM wordpress:6.9-php8.2
|
|
|
|
# Install handy tooling (git, mariadb client, wp-cli) for local development.
|
|
RUN apt-get update \
|
|
&& apt-get install -y --no-install-recommends git less vim unzip mariadb-client \
|
|
&& rm -rf /var/lib/apt/lists/* \
|
|
&& curl -o /usr/local/bin/wp https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar \
|
|
&& chmod +x /usr/local/bin/wp
|
|
|
|
WORKDIR /var/www/html
|
|
|
|
# Match the default Linux UID/GID to avoid permission headaches with bind mounts.
|
|
RUN usermod -u 1000 www-data && groupmod -g 1000 www-data
|