mirror of
https://github.com/crowetic/nc-talk-ai.git
synced 2026-09-07 15:42:31 +00:00
Talk AI is a multi-bot AI assistant manager for Nextcloud Talk: per-bot prompts and models, agentic tool calling (MCP + built-in tools), RAG over Nextcloud files, room-document search, vision and speech-to-text attachments, persistent bot wikis, approval workflows, rate limiting, and multi-provider LLM support (any OpenAI-compatible endpoint). Developed within EDUC - the European Digital UniverCity (https://educalliance.eu), where it runs as the 'EDUC AI' assistant on the alliance-wide Nextcloud portal. This public repository is the upstream point of truth; deployment-specific tools plug in via the tool-provider extension point (docs/TOOL_PROVIDERS.md). License: AGPL-3.0-or-later.
29 lines
705 B
Bash
Executable File
29 lines
705 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -Eeuo pipefail
|
|
|
|
# Set env variables in order to experience a behaviour closer to what happens
|
|
# in the CI locally. It should not hurt to set those in the CI as the CI should
|
|
# contain those values.
|
|
export CI=1
|
|
export COMPOSER_NO_INTERACTION=1
|
|
|
|
readonly ORIGINAL_WORKING_DIR=$(pwd)
|
|
|
|
trap "cd ${ORIGINAL_WORKING_DIR}" err exit
|
|
|
|
# Change to script directory
|
|
cd "$(dirname "$0")"
|
|
|
|
# Ensure we have a clean state
|
|
rm -rf actual.txt || true
|
|
rm -rf composer.lock || true
|
|
rm -rf vendor || true
|
|
rm -rf vendor-bin/*/composer.lock || true
|
|
rm -rf vendor-bin/*/vendor || true
|
|
|
|
composer update
|
|
|
|
# Actual command to execute the test itself
|
|
composer bin all run-script foo 2>&1 | tee > actual.txt
|