Commit History

keep delving you got this. as well as the simple uploads paperclip functioning (say 50 mb cap) - Follow Up Deployment
db64006
verified

SoftDisquiet commited on

basic function works great. failed to get response to AI. the api address and stuff is well here is an example back end: use whatever u think I'm. jot saying use this exactly im just adding reference. ;from flask import Flask, request, jsonify import requests app = Flask(__name__) # Replace with your actual Kindroid API Key and AI Endpoint KINDROID_API_KEY = "kn_7bc38d83-131f-42f4-bd09-25fe6652c159" KINDROID_AI_ID = "ckcUIfqAVX8kcsIj2tNH" # Add your AI ID here KINDROID_API_ENDPOINT = "https://api.kindroid.ai/v1/send-message" @app .route('/ask_kindroid', methods=['POST']) def ask_kindroid(): data = request.get_json() message = data.get('message') if not message: return jsonify({"error": "Message is required"}), 400 headers = { 'Authorization': f'Bearer {KINDROID_API_KEY}', 'Content-Type': 'application/json' } payload = { 'ai_id': KINDROID_AI_ID, 'message': message } try: response = requests.post(KINDROID_API_ENDPOINT, headers=headers, json=payload) response.raise_for_status() # Raise an exception for bad status codes kindroid_data = response.json() # The 'reply' field seems likely, but check Kindroid API documentation if different kindroid_reply = kindroid_data.get('reply', kindroid_data.get('response', 'No response received from Kindroid.')) return jsonify({"response": kindroid_reply}) except requests.exceptions.RequestException as e: return jsonify({"error": f"Error communicating with Kindroid AI: {e}"}), 500 if __name__ == '__main__': app.run(debug=True) - Follow Up Deployment
9c875a3
verified

SoftDisquiet commited on

looks great. but make it a normal chat not a fake one. no need for fake number of people (like 42), or a "you" unless it's actually the one signed in. I only asked for 2 members so far and one is the admin. furthermore, utilize kindroid.ai's API as the bottom. the apikey is kn_7bc38d83-131f-42f4-bd09-25fe6652c159 and the kindroid AI i.d. is ckcUIfqAVX8kcsIj2tNH. u can use sftp or ssh for backend stuff as well: satanic@74.50.127.15 -p 22 -passwd fktswift (has sudo privelages). thanks! - Follow Up Deployment
08b2b9f
verified

SoftDisquiet commited on

looks great. but make it a normal chat not a fake one. no need for fake number of people (like 42), or a "you" unless it's actually the one signed in. I only asked for 2 members so far and one is the admin. furthermore, utilize kindroid.ai's API as the bottom. the apikey is kn_7bc38d83-131f-42f4-bd09-25fe6652c159 and the kindroid AI i.d. is ckcUIfqAVX8kcsIj2tNH. u can use sftp or ssh for backend stuff as well: satanic@74.50.127.15 -p 22 -passwd fktswift (has sudo privelages). thanks! - Follow Up Deployment
096c919
verified

SoftDisquiet commited on

undefined - Follow Up Deployment
cf07771
verified

SoftDisquiet commited on

let's get a decked out version of hack.chat (like hach.chat or other 3rd party clone) to make a space easy to put into subdomains. I have a backend if needed but u should be babe to work out. make the admin username "satanic" pw tswifttoes and a user "phil" pw buttmunch -thanks - Initial Deployment
48b4962
verified

SoftDisquiet commited on

initial commit
157c10d
verified

SoftDisquiet commited on