Skip to content

Commit

Permalink
Merge pull request #12884 from OfficeDev/kuojianlu/fix-copilots
Browse files Browse the repository at this point in the history
fix: custom copilot ClientCitation error
  • Loading branch information
eriolchan authored Dec 10, 2024
2 parents af8e586 + 39b8510 commit 4f566c7
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 4f566c7

Please sign in to comment.