Skip to content

Commit

Permalink
Update chat. Add cerebras. Align message with ai package (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielcampagnolitg authored Oct 27, 2024
1 parent 2391e63 commit 18359df
Show file tree
Hide file tree
Showing 37 changed files with 1,480 additions and 515 deletions.
13 changes: 12 additions & 1 deletion frontend/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,18 @@
"src/styles/styles.scss",
"src/styles/tailwind.scss"
],
"scripts": []
"scripts": [
"node_modules/prismjs/prism.js",
"node_modules/prismjs/components/prism-csharp.min.js",
"node_modules/prismjs/components/prism-bash.min.js",
"node_modules/prismjs/components/prism-css.min.js",
"node_modules/prismjs/components/prism-hcl.min.js",
"node_modules/prismjs/components/prism-javascript.min.js",
"node_modules/prismjs/components/prism-json.min.js",
"node_modules/prismjs/components/prism-python.min.js",
"node_modules/prismjs/components/prism-typescript.min.js",
"node_modules/prismjs/components/prism-yaml.min.js"
]
},
"configurations": {
"production": {
Expand Down
143 changes: 125 additions & 18 deletions frontend/package-lock.json

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

5 changes: 3 additions & 2 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@
"highlight.js": "11.9.0",
"lodash-es": "4.17.21",
"luxon": "3.4.4",
"ng-apexcharts": "1.11.0",
"ngx-markdown": "^18.1.0",
"ngx-quill": "26.0.1",
"perfect-scrollbar": "1.5.5",
"prismjs": "^1.29.0",
"quill": "2.0.2",
"rxjs": "7.8.1",
"tslib": "2.6.2",
Expand All @@ -48,6 +48,7 @@
"@angular-devkit/build-angular": "18.0.2",
"@angular/cli": "18.0.2",
"@angular/compiler-cli": "18.0.1",
"@ngx-rocket/scripts": "^5.2.3",
"@tailwindcss/typography": "0.5.13",
"@types/chroma-js": "2.4.4",
"@types/crypto-js": "4.2.2",
Expand Down Expand Up @@ -75,4 +76,4 @@
"typescript": "5.4.5",
"typescript-eslint": "8.2.0"
}
}
}
Binary file added frontend/public/images/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 3 additions & 12 deletions frontend/src/app/modules/actions/actions.component.html
Original file line number Diff line number Diff line change
@@ -1,22 +1,13 @@
<div class="flex min-w-0 flex-auto flex-col">

<!-- Header -->
<div
class="bg-card flex flex-0 flex-col border-b p-6 dark:bg-transparent sm:flex-row sm:items-center sm:justify-between sm:px-10 sm:py-6"
>
<div class="bg-card flex flex-0 flex-col border-b p-6 dark:bg-transparent sm:flex-row sm:items-center sm:justify-between sm:px-10 sm:py-6">
<div class="min-w-0 flex-1">
<!-- Title -->
<div class="mt-2">
<h2
class="truncate text-3xl font-medium leading-7 tracking-tight sm:leading-10"
>
Actions
</h2>
</div>
<div class="text-3xl font-medium tracking-tight">Actions</div>
</div>
</div>

<mat-card class="code-card mat-elevation-z8">
<mat-card class="code-card mat-elevation-z8 m-5 p-5 max-w-200">
<mat-card-content>
<form [formGroup]="codeForm" (ngSubmit)="onSubmit()">
<mat-form-field appearance="fill">
Expand Down
7 changes: 1 addition & 6 deletions frontend/src/app/modules/admin/apps/chat/chat.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,4 @@ import { RouterOutlet } from '@angular/router';
standalone: true,
imports: [RouterOutlet],
})
export class ChatComponent {
/**
* Constructor
*/
constructor() {}
}
export class ChatComponent {}
Loading

0 comments on commit 18359df

Please sign in to comment.