forked from bterlson/openai-in-typespec
-
Notifications
You must be signed in to change notification settings - Fork 14
Add Experimental attribute to all public APIs in the OpenAI.Assistants namespace #229
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
Merged
ShivangiReja
merged 12 commits into
joseharriaga:main
from
ShivangiReja:Shreja_AddExperimental_Assitants
Aug 29, 2024
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
000d51e
Add Experimental attribute to all public APIs in the OpenAI.Assistant…
890fbbf
Update comment
d1c99ca
Fix Azure OpenAI
109e9ec
Fix namespace
1bcee93
Merge branch 'main' of https://github.com/joseharriaga/openai-in-type…
7a0d0de
Feedback
a04ca9e
Remove Experimental from internal types
aae3a93
Remove Experimental from internal Azure OpenAI types
370f530
Remove Experimental from an internal type
4a92279
Remove unused usings
4fcdfc7
Fix
421052a
Feedback
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
.dotnet/src/Custom/Assistants/CodeInterpreterToolResources.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletions
3
.dotnet/src/Custom/Assistants/FileSearchToolDefinition.Serialization.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,51 +1,67 @@ | ||
| using System.Diagnostics.CodeAnalysis; | ||
|
|
||
| namespace OpenAI.Assistants; | ||
|
|
||
| /* | ||
| * This file stubs and performs minimal customization to generated public types for the OpenAI.Assistants namespace | ||
| * that are not otherwise attributed elsewhere. | ||
| */ | ||
|
|
||
| [Experimental("OPENAI001")] | ||
| [CodeGenModel("AssistantToolsCode")] | ||
| public partial class CodeInterpreterToolDefinition : ToolDefinition { } | ||
|
|
||
| [Experimental("OPENAI001")] | ||
| [CodeGenModel("MessageObjectStatus")] | ||
| public readonly partial struct MessageStatus { } | ||
|
|
||
| [Experimental("OPENAI001")] | ||
| [CodeGenModel("MessageObjectIncompleteDetails")] | ||
| public partial class MessageFailureDetails { } | ||
|
|
||
| [Experimental("OPENAI001")] | ||
| [CodeGenModel("MessageObjectIncompleteDetailsReason")] | ||
| public readonly partial struct MessageFailureReason { } | ||
|
|
||
| [Experimental("OPENAI001")] | ||
| [CodeGenModel("RunCompletionUsage")] | ||
| public partial class RunTokenUsage { } | ||
|
|
||
| [Experimental("OPENAI001")] | ||
| [CodeGenModel("RunObjectLastError")] | ||
| public partial class RunError { } | ||
|
|
||
| [Experimental("OPENAI001")] | ||
| [CodeGenModel("RunObjectLastErrorCode")] | ||
| public readonly partial struct RunErrorCode { } | ||
|
|
||
| [Experimental("OPENAI001")] | ||
| [CodeGenModel("RunObjectIncompleteDetails")] | ||
| public partial class RunIncompleteDetails { } | ||
|
|
||
| [Experimental("OPENAI001")] | ||
| [CodeGenModel("RunObjectIncompleteDetailsReason")] | ||
| public readonly partial struct RunIncompleteReason { } | ||
|
|
||
| [Experimental("OPENAI001")] | ||
| [CodeGenModel("RunStepObjectType")] | ||
| public readonly partial struct RunStepType { } | ||
|
|
||
| [Experimental("OPENAI001")] | ||
| [CodeGenModel("RunStepObjectStatus")] | ||
| public readonly partial struct RunStepStatus { } | ||
|
|
||
| [Experimental("OPENAI001")] | ||
| [CodeGenModel("RunStepObjectLastError")] | ||
| public partial class RunStepError { } | ||
|
|
||
| [Experimental("OPENAI001")] | ||
| [CodeGenModel("RunStepObjectLastErrorCode")] | ||
| public readonly partial struct RunStepErrorCode { } | ||
|
|
||
| [Experimental("OPENAI001")] | ||
| [CodeGenModel("RunStepCompletionUsage")] | ||
| public partial class RunStepTokenUsage { } | ||
|
|
||
| [Experimental("OPENAI001")] | ||
| [CodeGenModel("RunStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject")] | ||
| public partial class RunStepCodeInterpreterOutput { } | ||
3 changes: 0 additions & 3 deletions
3
.dotnet/src/Custom/Assistants/Internal/InternalMessageImageFileContent.Serialization.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletions
3
.dotnet/src/Custom/Assistants/Internal/InternalMessageImageUrlContent.Serialization.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletions
3
.dotnet/src/Custom/Assistants/Internal/InternalMessageRefusalContent.Serialization.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletions
3
.dotnet/src/Custom/Assistants/Internal/InternalRequestMessageTextContent.Serialization.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletions
3
.dotnet/src/Custom/Assistants/Internal/InternalResponseMessageTextContent.Serialization.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletions
3
.dotnet/src/Custom/Assistants/Internal/UnknownAssistantToolDefinition.Serialization.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.