Skip to content

Commit

Permalink
v1.1.7 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
metaspartan committed Jan 15, 2025
1 parent eeae665 commit a5229a4
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 7 deletions.
4 changes: 2 additions & 2 deletions client/src/components/MetricsDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -283,13 +283,13 @@ const getEndpointIcon = (modelId: string) => {
<Bar
dataKey="Output"
stackId="tokens"
fill="var(--color-Output)"
className="fill-[--color-Output]"
radius={[0, 0, 4, 4]}
/>
<Bar
dataKey="Input"
stackId="tokens"
fill="var(--color-Input)"
className="fill-[--color-Input]"
radius={[4, 4, 0, 0]}
/>
</BarChart>
Expand Down
11 changes: 11 additions & 0 deletions client/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@
--border: 240 3.7% 15.9%;
--input: 240 3.7% 15.9%;
--ring: 240 4.9% 83.9%;
--color-Input: hsl(var(--chart-1));
--color-Output: hsl(var(--chart-3));
--chart-1: 220 70% 50%;
--chart-5: 160 60% 45%;
--chart-3: 30 80% 55%;
Expand Down Expand Up @@ -154,6 +156,8 @@
--border: 240 3.7% 15.9%;
--input: 240 3.7% 15.9%;
--ring: 240 4.9% 83.9%;
--color-Input: hsl(var(--chart-1));
--color-Output: hsl(var(--chart-3));
--chart-1: 220 70% 50%;
--chart-5: 160 60% 45%;
--chart-3: 30 80% 55%;
Expand Down Expand Up @@ -194,4 +198,11 @@
--chart-38: 240 65% 55%;
--chart-39: 160 70% 50%;
--chart-40: 340 75% 45%;
}

.chart-dot {
height: 0.5rem;
width: 0.5rem;
border-radius: 9999px;
background-color: var(--dot-color);
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "curiso.ai",
"version": "1.1.6",
"version": "1.1.7",
"author": "Carsen Klock",
"type": "module",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "curiso-ai"
version = "1.1.6"
version = "1.1.7"
description = "Curiso AI Desktop"
authors = ["Carsen Klock"]
license = "MIT"
Expand Down
11 changes: 9 additions & 2 deletions src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"identifier": "com.curiso.ai",
"productName": "Curiso AI",
"version": "1.1.6",
"version": "1.1.7",
"build": {
"beforeBuildCommand": "bun run build",
"beforeDevCommand": "bun run dev",
Expand All @@ -11,7 +11,14 @@
"app": {
"withGlobalTauri": true,
"security": {
"csp": "default-src 'self' 'unsafe-inline' 'wasm-unsafe-eval' http://localhost:* https://*; script-src 'self' 'unsafe-inline' 'wasm-unsafe-eval' https://cdnjs.cloudflare.com https://cdn.jsdelivr.net blob:; img-src 'self' data: https:; style-src 'self' 'unsafe-inline' 'unsafe-hashes' https://cdnjs.cloudflare.com https://cdn.jsdelivr.net https://* http://* http://127.0.0.1:* http://localhost:* data: blob:; connect-src 'self' http://127.0.0.1:* http://localhost:* https://* http://* https://cdnjs.cloudflare.com https://cdn.jsdelivr.net; worker-src 'self' blob: data: https://cdnjs.cloudflare.com https://cdn.jsdelivr.net https://* http://* http://127.0.0.1:* http://localhost:*",
"csp": {
"default-src": ["'self'", "'unsafe-inline'", "'wasm-unsafe-eval'", "http://localhost:*", "https://*"],
"script-src": ["'self'", "'unsafe-inline'", "'wasm-unsafe-eval'", "https://cdnjs.cloudflare.com", "https://cdn.jsdelivr.net", "blob:"],
"img-src": ["'self'", "data:", "https:"],
"style-src": ["'self'", "'unsafe-inline'", "https://cdnjs.cloudflare.com", "https://cdn.jsdelivr.net", "https://*", "http://*", "http://127.0.0.1:*", "http://localhost:*", "data:", "blob:"],
"connect-src": ["'self'", "http://127.0.0.1:*", "http://localhost:*", "https://*", "http://*", "https://cdnjs.cloudflare.com", "https://cdn.jsdelivr.net"],
"worker-src": ["'self'", "blob:", "data:", "https://cdnjs.cloudflare.com", "https://cdn.jsdelivr.net", "https://*", "http://*", "http://127.0.0.1:*", "http://localhost:*"]
},
"capabilities": [
{
"identifier": "fetch",
Expand Down

0 comments on commit a5229a4

Please sign in to comment.