11 Commits

Author SHA1 Message Date
97543dca9c Update .gitea/workflows/build-and-publish.yml 2024-12-10 20:35:39 +00:00
75e293f193 Update package.json 2024-12-10 20:35:05 +00:00
4d9bf52a11 Update image generation model 2024-12-10 20:26:25 +00:00
9d916177a7 Merge pull request 'develop' (#6) from develop into main
Reviewed-on: #6
2024-09-18 17:33:09 +01:00
00b658468a Remove DevOps branch from CI 2024-09-18 16:30:05 +00:00
9859ff4d96 Add orchestra API to dependencies 2024-09-18 16:28:41 +00:00
f82e21ffde Merge pull request 'develop' (#5) from develop into main
All checks were successful
Build and Publish Docker Image / build_and_push (push) Successful in 22s
Reviewed-on: #5
2024-09-17 23:05:04 +01:00
816c1c54ba Merge pull request 'Add Gerard' (#4) from feature/chat into develop
All checks were successful
Build and Publish Docker Image / build_and_push (push) Successful in 47s
Reviewed-on: #4
2024-09-17 23:04:46 +01:00
6a964da152 Merge pull request 'develop' (#3) from develop into main
All checks were successful
Build and Publish Docker Image / build_and_push (push) Successful in 17s
Reviewed-on: #3
2024-09-16 17:01:28 +01:00
befcb48a44 Merge branch 'main' into develop
All checks were successful
Build and Publish Docker Image / build_and_push (push) Successful in 17s
2024-09-16 17:00:58 +01:00
9b885e1d66 Merge pull request 'develop' (#2) from develop into main
All checks were successful
Build and Publish Docker Image / build_and_push (push) Successful in 15s
Reviewed-on: #2
2024-09-16 15:50:32 +01:00
4 changed files with 14 additions and 2 deletions

View File

@@ -5,7 +5,6 @@ on:
branches: branches:
- main - main
- develop - develop
- feature/devops
jobs: jobs:
build_and_push: build_and_push:

2
.npmrc Normal file
View File

@@ -0,0 +1,2 @@
@3t.network:registry=https://git.3t.network/api/packages/3t.network/npm/
//git.3t.network/api/packages/3t.network/npm/:_authToken=${NPM_TOKEN}

11
package-lock.json generated
View File

@@ -9,6 +9,7 @@
"version": "1.0.0", "version": "1.0.0",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"@3t.network/orchestra": "^1.0.0",
"axios": "^1.7.7", "axios": "^1.7.7",
"date-fns": "^3.6.0", "date-fns": "^3.6.0",
"discord.js": "^14.16.1", "discord.js": "^14.16.1",
@@ -29,6 +30,16 @@
"typescript": "^5.6.2" "typescript": "^5.6.2"
} }
}, },
"node_modules/@3t.network/orchestra": {
"version": "1.0.0",
"resolved": "https://git.3t.network/api/packages/3t.network/npm/%403t.network%2Forchestra/-/1.0.0/orchestra-1.0.0.tgz",
"integrity": "sha512-NRjD9wum3USCjPTM2Z2uw/vougkzfLAshZriMD19I9Ax9Zeu+qfOkUWd/ZNSgh8ruUbiezxcisBjLIWWRMhj8w==",
"license": "ISC",
"dependencies": {
"axios": "^1.7.7",
"form-data": "^4.0.0"
}
},
"node_modules/@cspotcode/source-map-support": { "node_modules/@cspotcode/source-map-support": {
"version": "0.8.1", "version": "0.8.1",
"resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz",

View File

@@ -39,7 +39,7 @@ export async function execute(
try { try {
// Create image generation prediction // Create image generation prediction
const prediction = await replicate.predictions.create({ const prediction = await replicate.predictions.create({
model: 'black-forest-labs/flux-schnell', model: 'black-forest-labs/flux-1.1-pro-ultra',
input: { prompt }, input: { prompt },
}); });