Skip to content

Commit adad0e6

Browse files
committed
disable Assistants API until #71 is fixed
1 parent 24dfc31 commit adad0e6

File tree

3 files changed

+13
-8
lines changed

3 files changed

+13
-8
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,8 @@ For more use cases [see tests](https://github.com/JuliaML/OpenAI.jl/tree/main/te
6767
## Feature requests
6868

6969
Feel free to open a PR, or file an issue if that's out of reach!
70+
71+
# Notes
72+
73+
* The [Assistants API was changed upstream](https://github.com/JuliaML/OpenAI.jl/issues/71),
74+
so these functions are currently disabled.

src/OpenAI.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -555,11 +555,11 @@ export create_embeddings
555555
export create_images
556556

557557
# Assistant exports
558-
export list_assistants
559-
export create_assistant
560-
export get_assistant
561-
export delete_assistant
562-
export modify_assistant
558+
# export list_assistants
559+
# export create_assistant
560+
# export get_assistant
561+
# export delete_assistant
562+
# export modify_assistant
563563

564564
# Thread exports
565565
export create_thread

test/runtests.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ end
3333
@testset "embeddings" begin
3434
include("embeddings.jl")
3535
end
36-
@testset "assistants" begin
37-
include("assistants.jl")
38-
end
36+
# @testset "assistants" begin
37+
# include("assistants.jl")
38+
# end
3939
# https://github.com/JuliaML/OpenAI.jl/issues/46
4040
# @testset "usage" begin
4141
# include("usage.jl")

0 commit comments

Comments
 (0)