You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
corinagum opened this issue
Sep 18, 2024
· 0 comments
Labels
bugSomething isn't workingdotnetChange/fix applies to dotnet. If all three, use the 'JS & dotnet & Python' labelPythonChange/fix applies to Python. If all three, use the 'JS & dotnet & Python' labelsampleswork wrt samples
Sample does not work with Tools Augmentation. In the history, I can see an extraneous user message (empty) is being added after the tool_call is sent from the model, interrupting the flow where the model expects the next immediate message to be the tool_call response with tool_call_id.
Workaround
You can get this sample to work by changing the augmentation type in config.json to 'sequence'
Reproduction Steps
1. Set up CardGazer sample
4. Run sample by sending an image with text "Please turn this image into an Adaptive Card"
...
The content you are editing has changed. Please copy your edits and refresh the page.
corinagum
changed the title
[Bug]: CardGazer sample does not work
[Bug]: tools augmentation interrupted when include_images is true
Sep 25, 2024
corinagum
added
Python
Change/fix applies to Python. If all three, use the 'JS & dotnet & Python' label
dotnet
Change/fix applies to dotnet. If all three, use the 'JS & dotnet & Python' label
labels
Sep 25, 2024
## Linked issues
#2039
#minor
<img width="935" alt="image"
src="https://github.com/user-attachments/assets/0018973c-9751-46d5-abd1-b6cbe889d9cc">
## Details
- `OpenAIModel.ts` docstring cleanup
- `PromptManager` - change order of tools and user input
- `UserInputMessage` - don't send messages if messages are empty.
- Update cardgazer to use 4o-mini and tools augmentation
- Update CardGazer sample to improve experience.
- Add note in README for Bot SSO sample
## Attestation Checklist
- [x] My code follows the style guidelines of this project
- I have checked for/fixed spelling, linting, and other errors
- I have commented my code for clarity
- I have made corresponding changes to the documentation (updating the
doc strings in the code is sufficient)
- My changes generate no new warnings
- I have added tests that validates my changes, and provides sufficient
test coverage. I have tested with:
- Local testing
- E2E testing in Teams
- New and existing unit tests pass locally with my changes
### Additional information
> Feel free to add other relevant information below
---------
Co-authored-by: Corina Gum <>
corinagum
changed the title
[Bug]: tools augmentation interrupted when include_images is true
[Bug]: PY/C# tools augmentation interrupted when include_images is true
Oct 3, 2024
bugSomething isn't workingdotnetChange/fix applies to dotnet. If all three, use the 'JS & dotnet & Python' labelPythonChange/fix applies to Python. If all three, use the 'JS & dotnet & Python' labelsampleswork wrt samples
Language
All 3 languages
Version
latest
Description
There are a number of issues
Workaround
You can get this sample to work by changing the augmentation type in
config.json
to'sequence'
Reproduction Steps
1. Set up CardGazer sample 4. Run sample by sending an image with text "Please turn this image into an Adaptive Card" ...
Tasks
The text was updated successfully, but these errors were encountered: