~firefoxphpai-chat
17 items • Download ./*

..
ajax.php
ana-ai-chat.png
atom-one-dark.min.css
convert-databases-v1.0.2-to-v1.0.3.php
db-browser.php
emoji.json
favicon.ico
highlight.min.js
index.php
note.txt
pair-all-chat-times.php
readme.txt
rebuild-chats-json.php
recalculate-chat-count.php
setup.php
setup_and_launch.py
worker.php


ai-chatsetup.php
1 KB• 52•  1 week ago•  DownloadRawClose
1 week ago•  52

{}
<?php
//error_reporting(0);
error_reporting(E_ALL & ~E_NOTICE);
date_default_timezone_set("Europe/Oslo");


// all backend link configuration here, assumes diffuse and reason are on the same host:

$BACKEND_IP = "10.0.0.89"; // host with ai model
$BACKEND_AI_PORT = 11434; // Default 11434
$BACKEND_IMG_PORT = 7860; // Default 7860

$text_model="gemma4-uncensored";
$vision_model="qwen2.5-vision";
// sd model is auto filled and set to current on load


$loadLimit = 50; // per infinite scroll
$loadLimitMedia = 100; // custom fit

$curl_timeout = 1740; // keep curl timeout slight less than php max execution for ai response time (Default Never, set to 1740 for vision model, match fcgi or execution time 1800 in php)
$curl_connout = 15; // Max time just to establish the connection

$cleanup_uploads = true; // auto delete uploaded files after use
// upscale is set to always replace original with new in place

// reminder to also enable 'gd' in php.ini for image preview/thumbs generating

// php worker process setup for windows
//$php_bin = PHP_BINARY; // set from environment
$php_bin = "C:/xampp/php/php.exe";
?>

Top
©twily.info 2013 - 2026
twily at twily dot info



3 946 544 visits
... ^ v