coyotte508 HF staff commited on
Commit
2fde762
1 Parent(s): cf7ac8d
src/routes/conversation/[id]/message/[messageId]/prompt/+server.ts CHANGED
@@ -37,7 +37,7 @@ export async function GET({ params, locals }) {
37
  {
38
  note: "This is a preview of the prompt that will be sent to the model when retrying the message. It may differ from what was sent in the past if the parameters have been updated since",
39
  prompt,
40
- model: model.id,
41
  parameters: {
42
  ...model.parameters,
43
  return_full_text: false,
 
37
  {
38
  note: "This is a preview of the prompt that will be sent to the model when retrying the message. It may differ from what was sent in the past if the parameters have been updated since",
39
  prompt,
40
+ model: model.name,
41
  parameters: {
42
  ...model.parameters,
43
  return_full_text: false,
src/routes/r/[id]/message/[messageId]/prompt/+server.ts CHANGED
@@ -33,7 +33,7 @@ export async function GET({ params }) {
33
  {
34
  note: "This is a preview of the prompt that will be sent to the model when retrying the message. It may differ from what was sent in the past if the parameters have been updated since",
35
  prompt,
36
- model: model.id,
37
  parameters: {
38
  ...model.parameters,
39
  return_full_text: false,
 
33
  {
34
  note: "This is a preview of the prompt that will be sent to the model when retrying the message. It may differ from what was sent in the past if the parameters have been updated since",
35
  prompt,
36
+ model: model.name,
37
  parameters: {
38
  ...model.parameters,
39
  return_full_text: false,