Skip to content

Commit

Permalink
fix: custom copilot ClientCitation error (#12953)
Browse files Browse the repository at this point in the history
  • Loading branch information
kuojianlu authored Dec 20, 2024
1 parent bb2db6a commit 038ce65
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function sayCommand(feedbackLoopEnabled = false) {
if (contentItem.citationTitle && contentItem.citationTitle.length > 0) {
const clientCitation = {
"@type": "Claim",
position: `${position}`,
position: position,
appearance: {
"@type": "DigitalDocument",
name: contentItem.citationTitle || `Document #${position}`,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function sayCommand(feedbackLoopEnabled = false) {
if (contentItem.citationTitle && contentItem.citationTitle.length > 0) {
const clientCitation = {
"@type": "Claim",
position: `${position}`,
position: position,
appearance: {
"@type": "DigitalDocument",
name: contentItem.citationTitle || `Document #${position}`,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function sayCommand(feedbackLoopEnabled = false) {
if (contentItem.citationTitle && contentItem.citationTitle.length > 0) {
const clientCitation = {
"@type": "Claim",
position: `${position}`,
position: position,
appearance: {
"@type": "DigitalDocument",
name: contentItem.citationTitle || `Document #${position}`,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export function sayCommand<TState extends TurnState = TurnState>(feedbackLoopEna
if (contentItem.citationTitle && contentItem.citationTitle.length > 0) {
const clientCitation: ClientCitation = {
"@type": "Claim",
position: `${position}`,
position: position,
appearance: {
"@type": "DigitalDocument",
name: contentItem.citationTitle || `Document #${position}`,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export function sayCommand<TState extends TurnState = TurnState>(feedbackLoopEna
if (contentItem.citationTitle && contentItem.citationTitle.length > 0) {
const clientCitation: ClientCitation = {
"@type": "Claim",
position: `${position}`,
position: position,
appearance: {
"@type": "DigitalDocument",
name: contentItem.citationTitle || `Document #${position}`,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export function sayCommand<TState extends TurnState = TurnState>(feedbackLoopEna
if (contentItem.citationTitle && contentItem.citationTitle.length > 0) {
const clientCitation: ClientCitation = {
"@type": "Claim",
position: `${position}`,
position: position,
appearance: {
"@type": "DigitalDocument",
name: contentItem.citationTitle || `Document #${position}`,
Expand Down

0 comments on commit 038ce65

Please sign in to comment.