-
-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feat] generate graphics in dialog boxes using modelui apis #101
Changes from 6 commits
39716ea
4dba929
8ae91f6
7fa3fe9
e4e4f73
2ead0fb
1db5fe8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,5 @@ | |
.swp | ||
logs/ | ||
target | ||
*.iml | ||
*.iml | ||
__pycache__ |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. kernel_connection_file.json do not submit, compile and generate |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"shell_port": 53624, | ||
"iopub_port": 53628, | ||
"stdin_port": 53625, | ||
"control_port": 53626, | ||
"hb_port": 53630, | ||
"ip": "127.0.0.1", | ||
"key": "ee78d8c3-211d1e84ff99b14a4dcb67dd", | ||
"transport": "tcp", | ||
"signature_scheme": "hmac-sha256", | ||
"kernel_name": "" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,7 +43,7 @@ spring: | |
basename: i18n/messages | ||
datasource: | ||
driver-class-name: com.mysql.jdbc.Driver | ||
url: jdbc:mysql://localhost:3306/solidui?useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai | ||
url: jdbc:mysql://43.138.5.82:3306/solidui?useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. replace with localhost |
||
username: root | ||
password: SolidUI@123 | ||
hikari: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,3 +22,4 @@ public | |
scripts | ||
docker | ||
coverage | ||
src/components/Chat/index.tsx |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,6 +33,21 @@ module.exports = merge(baseConfig, { | |
directory: path.join(__dirname, '../public'), | ||
}, | ||
proxy: { | ||
'/solidui/models/generate': { | ||
target: 'http://43.138.5.82:5110', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ip fixed |
||
changeOrigin: true, | ||
pathRewrite: {} | ||
}, | ||
'/solidui/kernel/restart': { | ||
target: 'http://43.138.5.82:5010', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ip fixed |
||
changeOrigin: true, | ||
pathRewrite: {} | ||
}, | ||
'/solidui/models/api/api': { | ||
target: 'http://43.138.5.82:5110', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ip fixed |
||
changeOrigin: true, | ||
pathRewrite: {} | ||
}, | ||
'/solidui': { | ||
target: 'http://localhost:12345', | ||
changeOrigin: true, | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
/* | ||
* Licensed to the Apache Software Foundation (ASF) under one or more | ||
* contributor license agreements. See the NOTICE file distributed with | ||
* this work for additional information regarding copyright ownership. | ||
* The ASF licenses this file to You under the Apache License, Version 2.0 | ||
* (the "License"); you may not use this file except in compliance with | ||
* the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
div.message.system { | ||
background: rgba(247,247,248); | ||
} | ||
|
||
div.avatar { | ||
background: #0070cc; | ||
padding: 5px; | ||
color: #fff; | ||
border-radius: 2px; | ||
} | ||
|
||
div.avatar svg { | ||
display: block; | ||
color: #fff; | ||
} | ||
|
||
.chat-messages { | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
right: 0; | ||
bottom: 0; | ||
flex: 1; | ||
overflow-y: auto; | ||
overflow-x: hidden; | ||
} | ||
|
||
div.message.system div.avatar { | ||
background: #74a89b; | ||
} | ||
|
||
.cell-output { | ||
white-space: pre-wrap | ||
} | ||
|
||
div.message { | ||
padding: 1rem; | ||
border-bottom: rgba(0,0,0,.1); | ||
flex-direction: row; | ||
width: 100%; | ||
display: flex; | ||
} | ||
|
||
div.message a:hover { | ||
color: #000; | ||
text-decoration: underline; | ||
} | ||
|
||
div.message-body { | ||
padding-left: 1rem; | ||
width: 100%; | ||
} | ||
|
||
.loader { | ||
border: 5px solid #74a89b; | ||
border-radius: 50%; | ||
border-top: 5px solid #457e70; | ||
width: 20px; | ||
height: 20px; | ||
-webkit-animation: spin 2s linear infinite; | ||
animation: spin 2s linear infinite; | ||
margin: 0 0.5rem; | ||
margin-bottom: -5px; | ||
display: inline-block; | ||
} | ||
|
||
/* Define spin animation */ | ||
@keyframes spin { | ||
0% { transform: rotate(0deg); } | ||
100% { transform: rotate(360deg); } | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
app.log do not submit, compile and generate