Skip to content

Conversation

crickman
Copy link
Contributor

Motivation and Context

Stored system prompt references TimeSkill plugin that has been renamed to TimePlugin.

System prompts for each chat have been stored in cosmosdb.

Description

Dynamically intercept system-prompt and replace plugin reference.

Contribution Checklist

@crickman crickman requested a review from glahaye November 10, 2023 07:52
@github-actions github-actions bot added the webapi Pull requests that update .net code label Nov 10, 2023
@crickman crickman added bug Something isn't working .NET Pull requests that update .net code labels Nov 10, 2023
@crickman crickman added this pull request to the merge queue Nov 10, 2023
Merged via the queue into main with commit 3e743f8 Nov 10, 2023
@crickman crickman deleted the fix_stored_systemprompt branch November 10, 2023 08:03
teamleader-dev pushed a commit to vlink-group/chat-copilot that referenced this pull request Oct 7, 2024
### Motivation and Context
<!-- Thank you for your contribution to the chat-copilot repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->
Stored system prompt references `TimeSkill `plugin that has been renamed
to `TimePlugin`.

System prompts for each chat have been stored in cosmosdb.


### Description
<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

Dynamically intercept system-prompt and replace plugin reference.

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [x] The code builds clean without any errors or warnings
- [x] The PR follows the [Contribution
Guidelines](https://github.com/microsoft/chat-copilot/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/chat-copilot/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [x] All unit tests pass, and I have added new tests where possible
- [x] I didn't break anyone 😄
kb0039 pushed a commit to aaronba/chat-copilot that referenced this pull request Jan 8, 2025
### Motivation and Context
<!-- Thank you for your contribution to the chat-copilot repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->
Stored system prompt references `TimeSkill `plugin that has been renamed
to `TimePlugin`.

System prompts for each chat have been stored in cosmosdb.


### Description
<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

Dynamically intercept system-prompt and replace plugin reference.

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [x] The code builds clean without any errors or warnings
- [x] The PR follows the [Contribution
Guidelines](https://github.com/microsoft/chat-copilot/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/chat-copilot/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [x] All unit tests pass, and I have added new tests where possible
- [x] I didn't break anyone 😄
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working .NET Pull requests that update .net code webapi Pull requests that update .net code
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

2 participants