Skip to content

Commit

Permalink
optimize style of markdown image
Browse files Browse the repository at this point in the history
  • Loading branch information
zmh-program committed Dec 25, 2023
1 parent b3dbef5 commit 552d300
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/src/assets/markdown/theme.less
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@
box-sizing: content-box;
background-color: var(--color-canvas-default);
border-radius: 4px;
max-height: 35vh;
}

.markdown-body code,
Expand Down
2 changes: 1 addition & 1 deletion manager/chat.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
)

const defaultMessage = "Sorry, I don't understand. Please try again."
const defaultQuotaMessage = "You don't have enough quota to use this model. please [buy](/buy) or [subscribe](/subscribe) to get more. (or try to refresh the page)"
const defaultQuotaMessage = "You don't have enough quota or you don't have permission to use this model. please [buy](/buy) or [subscribe](/subscribe) to get more."

func CollectQuota(c *gin.Context, user *auth.User, buffer *utils.Buffer, uncountable bool) {
db := utils.GetDBFromContext(c)
Expand Down

0 comments on commit 552d300

Please sign in to comment.