Skip to content

Commit 68485be

Browse files
committed
enh(audiochat): do not watermark audio output of audio chat, only support NC 33, adjust Php version in actions
Signed-off-by: Julien Veyssier <[email protected]>
1 parent 3083271 commit 68485be

File tree

5 files changed

+6
-4
lines changed

5 files changed

+6
-4
lines changed

.github/workflows/appstore-build-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
types: [published]
1414

1515
env:
16-
PHP_VERSION: 8.1
16+
PHP_VERSION: 8.3
1717

1818
jobs:
1919
build_and_publish:

.github/workflows/phpunit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
# do not stop on another job's failure
3636
fail-fast: false
3737
matrix:
38-
php-versions: ['8.2']
38+
php-versions: ['8.3']
3939
databases: ['sqlite']
4040
server-versions: ['master']
4141

appinfo/info.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Known providers:
6262
6363
More details on how to set this up in the [admin docs](https://docs.nextcloud.com/server/latest/admin_manual/ai/index.html)
6464
]]> </description>
65-
<version>2.10.0</version>
65+
<version>3.0.0-dev</version>
6666
<licence>agpl</licence>
6767
<author>Julien Veyssier</author>
6868
<namespace>Assistant</namespace>
@@ -81,7 +81,7 @@ More details on how to set this up in the [admin docs](https://docs.nextcloud.co
8181
<screenshot>https://github.com/nextcloud/assistant/raw/main/img/screenshots/screenshot6.jpg</screenshot>
8282
<screenshot>https://github.com/nextcloud/assistant/raw/main/img/screenshots/screenshot7.jpg</screenshot>
8383
<dependencies>
84-
<nextcloud min-version="30" max-version="33"/>
84+
<nextcloud min-version="33" max-version="33"/>
8585
</dependencies>
8686
<settings>
8787
<admin>OCA\Assistant\Settings\Admin</admin>

lib/TaskProcessing/AudioToAudioChatProvider.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ public function process(?string $userId, array $input, callable $reportProgress)
143143
Application::APP_ID . ':internal',
144144
$userId,
145145
);
146+
$task->setIncludeWatermark(false);
146147
$taskOutput = $this->taskProcessingService->runTaskProcessingTask($task);
147148
$outputAudioFileId = $taskOutput['speech'];
148149

lib/TaskProcessing/ContextAgentAudioInteractionProvider.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ public function process(?string $userId, array $input, callable $reportProgress)
143143
Application::APP_ID . ':internal',
144144
$userId,
145145
);
146+
$task->setIncludeWatermark(false);
146147
$ttsTaskOutput = $this->taskProcessingService->runTaskProcessingTask($task);
147148
$outputAudioFileId = $ttsTaskOutput['speech'];
148149
$outputAudioFileContent = $this->taskProcessingService->getOutputFileContent($outputAudioFileId);

0 commit comments

Comments
 (0)