feat: gpt3流响应
This commit is contained in:
@@ -39,9 +39,9 @@ const ModelSchema = new Schema({
|
||||
},
|
||||
temperature: {
|
||||
type: Number,
|
||||
min: 1,
|
||||
min: 0,
|
||||
max: 10,
|
||||
default: 5
|
||||
default: 4
|
||||
},
|
||||
service: {
|
||||
company: {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Schema, model, models } from 'mongoose';
|
||||
import { hashPassword } from '@/service/utils/tools';
|
||||
import { PRICE_SCALE } from '@/utils/user';
|
||||
import { PRICE_SCALE } from '@/constants/common';
|
||||
|
||||
const UserSchema = new Schema({
|
||||
email: {
|
||||
|
||||
Reference in New Issue
Block a user