Merge pull request #14 from Fosowl/dev

setup.py
This commit is contained in:
Martin 2025-03-07 20:38:29 +01:00 committed by GitHub
commit 2686450fcd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 57 additions and 4 deletions

View File

@ -1,10 +1,11 @@
[MAIN]
is_local = False
provider_name = server
is_local = True
provider_name = ollama
provider_model = deepseek-r1:14b
provider_server_address = 127.0.0.1:5000
agent_name = Friday
recover_last_session = True
save_session = True
speak = True
listen = False
listen = False
work_dir = /Users/mlg/Documents/A-project/AI/Agents/agenticSeek

View File

@ -76,7 +76,6 @@ def start_generation():
return jsonify({"error": "Generation already in progress"}), 400
history = data.get('messages', [])
# Start generation in background thread
threading.Thread(target=generate_response, args=(history, state.model)).start()
return jsonify({"message": "Generation started"}), 202

53
setup.py Normal file
View File

@ -0,0 +1,53 @@
from setuptools import setup, find_packages
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setup(
name="agenticSeek",
version="0.1.0",
author="Fosowl",
author_email="mlg.fcu@gmail.com",
description="A Python project for agentic search and processing",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/Fosowl/agenticSeek",
packages=find_packages(),
include_package_data=True,
install_requires=[
"requests==2.31.0",
"openai==1.61.1",
"colorama==0.4.6",
"python-dotenv==1.0.0",
"playsound==1.3.0",
"soundfile==0.13.1",
"transformers==4.48.3",
"torch==2.5.1",
"ollama==0.4.7",
"scipy==1.15.1",
"kokoro==0.7.12",
"flask==3.1.0",
"protobuf==3.20.3",
"termcolor==2.5.0",
"gliclass==0.1.8",
],
extras_require={
"chinese": [
"ordered_set",
"pypinyin",
"cn2an",
"jieba",
],
},
entry_points={
"console_scripts": [
"agenticseek=main:main",
],
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
],
python_requires=">=3.6",
)