@zodic/shared 0.0.405 → 0.0.407
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -30,7 +30,6 @@ export type CentralBindings = {
|
|
|
30
30
|
ARCHETYPE_POPULATION_QUEUE: Queue;
|
|
31
31
|
FACESWAP_QUEUE: Queue;
|
|
32
32
|
PAYMENT_QUEUE: Queue;
|
|
33
|
-
PROMPT_PERSONALIZE_COSMIC_MIRROR_LEONARDO_PROMPT: string;
|
|
34
33
|
AI: Ai;
|
|
35
34
|
DB: D1Database;
|
|
36
35
|
DRIZZLE: DrizzleD1Database;
|
|
@@ -51,8 +50,6 @@ export type CentralBindings = {
|
|
|
51
50
|
REDIRECT_PREFIX: string;
|
|
52
51
|
ASTROLOGY_WESTERN_USER_ID: string;
|
|
53
52
|
ASTROLOGY_WESTERN_API_KEY: string;
|
|
54
|
-
ASTROLOGY_PDF_USER_ID: string;
|
|
55
|
-
ASTROLOGY_PDF_API_KEY: string;
|
|
56
53
|
PIAPI_API_KEY: string;
|
|
57
54
|
DEEPSEEK_API_KEY: string;
|
|
58
55
|
TOGETHER_API_KEY: string;
|
|
@@ -85,7 +82,6 @@ export type BackendBindings = Env &
|
|
|
85
82
|
| 'LEONARDO_API_KEY'
|
|
86
83
|
| 'KV_ASTRO'
|
|
87
84
|
| 'KV_CONCEPT_FAILURES'
|
|
88
|
-
| 'PROMPT_PERSONALIZE_COSMIC_MIRROR_LEONARDO_PROMPT'
|
|
89
85
|
| 'DB'
|
|
90
86
|
| 'JWT_SECRET'
|
|
91
87
|
| 'GOOGLE_API_KEY'
|
|
@@ -96,8 +92,6 @@ export type BackendBindings = Env &
|
|
|
96
92
|
| 'REDIRECT_PREFIX'
|
|
97
93
|
| 'ASTROLOGY_WESTERN_API_KEY'
|
|
98
94
|
| 'ASTROLOGY_WESTERN_USER_ID'
|
|
99
|
-
| 'ASTROLOGY_PDF_API_KEY'
|
|
100
|
-
| 'ASTROLOGY_PDF_USER_ID'
|
|
101
95
|
| 'AI'
|
|
102
96
|
| 'PIAPI_API_KEY'
|
|
103
97
|
| 'CONCEPT_GENERATION_QUEUE'
|
package/types/scopes/db.ts
CHANGED
|
@@ -6,7 +6,6 @@ import {
|
|
|
6
6
|
astroPlanets,
|
|
7
7
|
conceptCombinations,
|
|
8
8
|
concepts,
|
|
9
|
-
creditsTransactions,
|
|
10
9
|
generations,
|
|
11
10
|
tokens,
|
|
12
11
|
userArtifacts,
|
|
@@ -47,13 +46,6 @@ export type InsertConceptCombination = InferInsertModel<
|
|
|
47
46
|
export type SelectConcept = NullableSelect<typeof concepts>;
|
|
48
47
|
export type InsertConcept = InferInsertModel<typeof concepts>;
|
|
49
48
|
|
|
50
|
-
export type SelectCreditsTransaction = NullableSelect<
|
|
51
|
-
typeof creditsTransactions
|
|
52
|
-
>;
|
|
53
|
-
export type InsertCreditsTransaction = InferInsertModel<
|
|
54
|
-
typeof creditsTransactions
|
|
55
|
-
>;
|
|
56
|
-
|
|
57
49
|
export type SelectUserArtifact = NullableSelect<typeof userArtifacts>;
|
|
58
50
|
export type InsertUserArtifact = InferInsertModel<typeof userArtifacts>;
|
|
59
51
|
|
package/utils/buildMessages.ts
CHANGED
|
@@ -466,7 +466,8 @@ export const buildLLMMessages = (env: BackendBindings) => ({
|
|
|
466
466
|
}): ChatMessages => [
|
|
467
467
|
{
|
|
468
468
|
role: 'system',
|
|
469
|
-
content:
|
|
469
|
+
content:
|
|
470
|
+
"Given a prompt made to generate an image on leonardo ai, hair traits and skin color description, imbue those traits in the prompt, making the character to present them. The prompt must remain below 1500 characters including spaces, thatw's mandatory.",
|
|
470
471
|
},
|
|
471
472
|
{
|
|
472
473
|
role: 'user',
|