Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tf assistant cleanup #227

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Tf assistant cleanup #227

wants to merge 3 commits into from

Conversation

krnese
Copy link
Collaborator

@krnese krnese commented May 15, 2024

Proposed changes:

  • ...

@uday31in
Copy link
Member

shall we introduce application setting to opt-out of automatic deletion to make troubleshooting easier?

Copy link
Contributor

@marvinbuss marvinbuss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please see comments below.

Comment on lines +67 to +68
DELETE_ASSISTANT_ENABLED = var.delete_assistant_enabled

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
DELETE_ASSISTANT_ENABLED = var.delete_assistant_enabled
DELETE_ASSISTANT_ENABLED = var.delete_assistant_enabled

Comment on lines +773 to +793
"OpenAI-DeleteAssistant": {
"inputs": {
"authentication": {
"audience": "https://cognitiveservices.azure.com",
"type": "ManagedServiceIdentity"
},
"method": "DELETE",
"uri": "@concat(parameters('AZURE_OPENAI_ENDPOINT'), '/openai/assistants/', body('OpenAi-CreateAssisstant-Response')?['id'], '?api-version=2024-03-01-preview')"
},
"runAfter": {
"Get_Assistant_Messages": [
"Succeeded"
]
},
"runtimeConfiguration": {
"contentTransfer": {
"transferMode": "Chunked"
}
},
"type": "Http"
},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am missing the use of the parameter DELETE_ASSISTANT_ENABLED in the workflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants