venice_client 1.0.8 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/venice_client/models/create_chat_completion200_response.rb +1 -0
- data/lib/venice_client/version.rb +1 -1
- data/update.sh +15 -3
- data/venice_client.gemspec +39 -0
- metadata +2 -11
- data/.gitignore +0 -41
- data/.gitlab-ci.yml +0 -26
- data/.openapi-generator/FILES +0 -266
- data/.openapi-generator/VERSION +0 -1
- data/.openapi-generator-ignore +0 -23
- data/.rspec +0 -2
- data/.rubocop.yml +0 -148
- data/.travis.yml +0 -11
- data/package-lock.json +0 -2159
- data/package.json +0 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c74ceec1cc8ab9ad00174e37ec75bbf14f8ff771989652f485d3fe8451464781
|
|
4
|
+
data.tar.gz: fbf3d9078463a0397d47b64e5bf6ea7665c9371f40a892f85817160f548d57f4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a96e5816b7872a78295775cd8df00088706f9a018b286b95aebb6308bf170ef1eb1c2abc8b280254c8a5f4f91f7df9751f5670ef7195f3b4a387b77182cf9d9b
|
|
7
|
+
data.tar.gz: 3534e7657b57fe54b522c67ae592b9af65cf2566d1e12f8e2a1d6a7d115321ebefe6b7c7ed2dc993f2f3221993b023b2c651258527cd703d02627139343669c9
|
data/Gemfile.lock
CHANGED
data/update.sh
CHANGED
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
#!/bin/sh
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
# Preserve version
|
|
4
|
+
VERSION=$(grep -o "'.*'" lib/venice_client/version.rb | tr -d "'")
|
|
4
5
|
|
|
5
|
-
|
|
6
|
+
curl -L https://api.venice.ai/doc/api/swagger.yaml >swagger.yaml
|
|
7
|
+
|
|
8
|
+
npx @openapitools/openapi-generator-cli generate \
|
|
6
9
|
-i swagger.yaml \
|
|
7
10
|
-g ruby \
|
|
8
11
|
-o . \
|
|
9
|
-
--additional-properties gemName=venice_client,moduleName=VeniceClient
|
|
12
|
+
--additional-properties gemName=venice_client,moduleName=VeniceClient,disallowAdditionalPropertiesIfNotPresent=false
|
|
13
|
+
|
|
14
|
+
# Restore version
|
|
15
|
+
sed -i "s|VERSION = '.*'|VERSION = '$VERSION'|" lib/venice_client/version.rb
|
|
16
|
+
|
|
17
|
+
find lib -type f -name "*.rb" -exec sed -i -f - {} + <<SED_SCRIPT
|
|
18
|
+
s/\["auto", "false", "true"\]/\["auto", "off", "on"\]/g
|
|
19
|
+
s/self.enable_web_search = 'on'/self.enable_web_search = 'off'/g
|
|
20
|
+
s/self.enable_web_search = 'false'/self.enable_web_search = 'off'/g
|
|
21
|
+
SED_SCRIPT
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
|
2
|
+
|
|
3
|
+
=begin
|
|
4
|
+
#Venice.ai API
|
|
5
|
+
|
|
6
|
+
#The Venice.ai API.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 20250918.173746
|
|
9
|
+
|
|
10
|
+
Generated by: https://openapi-generator.tech
|
|
11
|
+
Generator version: 7.14.0
|
|
12
|
+
|
|
13
|
+
=end
|
|
14
|
+
|
|
15
|
+
$:.push File.expand_path("../lib", __FILE__)
|
|
16
|
+
require "venice_client/version"
|
|
17
|
+
|
|
18
|
+
Gem::Specification.new do |s|
|
|
19
|
+
s.name = "venice_client"
|
|
20
|
+
s.version = VeniceClient::VERSION
|
|
21
|
+
s.platform = Gem::Platform::RUBY
|
|
22
|
+
s.authors = ["OpenAPI-Generator"]
|
|
23
|
+
s.email = [""]
|
|
24
|
+
s.homepage = "https://openapi-generator.tech"
|
|
25
|
+
s.summary = "Venice.ai API Ruby Gem"
|
|
26
|
+
s.description = "The Venice.ai API."
|
|
27
|
+
s.license = "Unlicense"
|
|
28
|
+
s.required_ruby_version = ">= 2.7"
|
|
29
|
+
s.metadata = {}
|
|
30
|
+
|
|
31
|
+
s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
|
|
32
|
+
|
|
33
|
+
s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
|
|
34
|
+
|
|
35
|
+
s.files = `find *`.split("\n").uniq.sort.select { |f| !f.empty? }
|
|
36
|
+
s.test_files = `find spec/*`.split("\n")
|
|
37
|
+
s.executables = []
|
|
38
|
+
s.require_paths = ["lib"]
|
|
39
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: venice_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
@@ -56,14 +56,6 @@ executables: []
|
|
|
56
56
|
extensions: []
|
|
57
57
|
extra_rdoc_files: []
|
|
58
58
|
files:
|
|
59
|
-
- ".gitignore"
|
|
60
|
-
- ".gitlab-ci.yml"
|
|
61
|
-
- ".openapi-generator-ignore"
|
|
62
|
-
- ".openapi-generator/FILES"
|
|
63
|
-
- ".openapi-generator/VERSION"
|
|
64
|
-
- ".rspec"
|
|
65
|
-
- ".rubocop.yml"
|
|
66
|
-
- ".travis.yml"
|
|
67
59
|
- Gemfile
|
|
68
60
|
- Gemfile.lock
|
|
69
61
|
- README.md
|
|
@@ -339,8 +331,6 @@ files:
|
|
|
339
331
|
- lib/venice_client/models/user_message_content.rb
|
|
340
332
|
- lib/venice_client/version.rb
|
|
341
333
|
- openapitools.json
|
|
342
|
-
- package-lock.json
|
|
343
|
-
- package.json
|
|
344
334
|
- spec/api/api_keys_api_spec.rb
|
|
345
335
|
- spec/api/audio_api_spec.rb
|
|
346
336
|
- spec/api/billing_api_spec.rb
|
|
@@ -476,6 +466,7 @@ files:
|
|
|
476
466
|
- spec/spec_helper.rb
|
|
477
467
|
- swagger.yaml
|
|
478
468
|
- update.sh
|
|
469
|
+
- venice_client.gemspec
|
|
479
470
|
homepage: https://openapi-generator.tech
|
|
480
471
|
licenses:
|
|
481
472
|
- Unlicense
|
data/.gitignore
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
# Generated by: https://openapi-generator.tech
|
|
2
|
-
#
|
|
3
|
-
|
|
4
|
-
*.gem
|
|
5
|
-
*.rbc
|
|
6
|
-
/.config
|
|
7
|
-
/coverage/
|
|
8
|
-
/InstalledFiles
|
|
9
|
-
/pkg/
|
|
10
|
-
/spec/reports/
|
|
11
|
-
/spec/examples.txt
|
|
12
|
-
/test/tmp/
|
|
13
|
-
/test/version_tmp/
|
|
14
|
-
/tmp/
|
|
15
|
-
|
|
16
|
-
## Specific to RubyMotion:
|
|
17
|
-
.dat*
|
|
18
|
-
.repl_history
|
|
19
|
-
build/
|
|
20
|
-
|
|
21
|
-
## Documentation cache and generated files:
|
|
22
|
-
/.yardoc/
|
|
23
|
-
/_yardoc/
|
|
24
|
-
/doc/
|
|
25
|
-
/rdoc/
|
|
26
|
-
|
|
27
|
-
## Environment normalization:
|
|
28
|
-
/.bundle/
|
|
29
|
-
/vendor/bundle
|
|
30
|
-
/lib/bundler/man/
|
|
31
|
-
|
|
32
|
-
# for a library or gem, you might want to ignore these files since the code is
|
|
33
|
-
# intended to run in multiple environments; otherwise, check them in:
|
|
34
|
-
# Gemfile.lock
|
|
35
|
-
# .ruby-version
|
|
36
|
-
# .ruby-gemset
|
|
37
|
-
|
|
38
|
-
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
|
|
39
|
-
.rvmrc
|
|
40
|
-
|
|
41
|
-
node_modules/
|
data/.gitlab-ci.yml
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
.ruby: &ruby
|
|
2
|
-
variables:
|
|
3
|
-
LANG: "C.UTF-8"
|
|
4
|
-
before_script:
|
|
5
|
-
- ruby -v
|
|
6
|
-
- bundle config set --local deployment true
|
|
7
|
-
- bundle install -j $(nproc)
|
|
8
|
-
parallel:
|
|
9
|
-
matrix:
|
|
10
|
-
- RUBY_VERSION: ['2.7', '3.0', '3.1']
|
|
11
|
-
image: "ruby:$RUBY_VERSION"
|
|
12
|
-
cache:
|
|
13
|
-
paths:
|
|
14
|
-
- vendor/ruby
|
|
15
|
-
key: 'ruby-$RUBY_VERSION'
|
|
16
|
-
|
|
17
|
-
gem:
|
|
18
|
-
extends: .ruby
|
|
19
|
-
script:
|
|
20
|
-
- bundle exec rspec
|
|
21
|
-
- bundle exec rake build
|
|
22
|
-
- bundle exec rake install
|
|
23
|
-
artifacts:
|
|
24
|
-
paths:
|
|
25
|
-
- pkg/*.gem
|
|
26
|
-
|
data/.openapi-generator/FILES
DELETED
|
@@ -1,266 +0,0 @@
|
|
|
1
|
-
.gitignore
|
|
2
|
-
.gitlab-ci.yml
|
|
3
|
-
.rspec
|
|
4
|
-
.rubocop.yml
|
|
5
|
-
.travis.yml
|
|
6
|
-
Gemfile
|
|
7
|
-
README.md
|
|
8
|
-
Rakefile
|
|
9
|
-
docs/APIKeysApi.md
|
|
10
|
-
docs/AssistantMessage.md
|
|
11
|
-
docs/AssistantMessageContent.md
|
|
12
|
-
docs/AudioApi.md
|
|
13
|
-
docs/AudioModelPricing.md
|
|
14
|
-
docs/AudioModelPricingInput.md
|
|
15
|
-
docs/BillingApi.md
|
|
16
|
-
docs/BillingUsageRequest.md
|
|
17
|
-
docs/BillingUsageResponse.md
|
|
18
|
-
docs/CharactersApi.md
|
|
19
|
-
docs/ChatApi.md
|
|
20
|
-
docs/ChatCompletionRequest.md
|
|
21
|
-
docs/ChatCompletionRequestMessagesInner.md
|
|
22
|
-
docs/ChatCompletionRequestResponseFormat.md
|
|
23
|
-
docs/ChatCompletionRequestStop.md
|
|
24
|
-
docs/ChatCompletionRequestStreamOptions.md
|
|
25
|
-
docs/ChatCompletionRequestToolChoice.md
|
|
26
|
-
docs/ChatCompletionRequestToolChoiceAnyOf.md
|
|
27
|
-
docs/ChatCompletionRequestToolChoiceAnyOfFunction.md
|
|
28
|
-
docs/ChatCompletionRequestVeniceParameters.md
|
|
29
|
-
docs/CreateApiKey200Response.md
|
|
30
|
-
docs/CreateApiKey200ResponseData.md
|
|
31
|
-
docs/CreateApiKeyRequest.md
|
|
32
|
-
docs/CreateApiKeyRequestExpiresAt.md
|
|
33
|
-
docs/CreateChatCompletion200Response.md
|
|
34
|
-
docs/CreateChatCompletion200ResponseChoicesInner.md
|
|
35
|
-
docs/CreateChatCompletion200ResponseChoicesInnerLogprobs.md
|
|
36
|
-
docs/CreateChatCompletion200ResponseChoicesInnerLogprobsTopLogprobsInner.md
|
|
37
|
-
docs/CreateChatCompletion200ResponseChoicesInnerMessage.md
|
|
38
|
-
docs/CreateChatCompletion200ResponseUsage.md
|
|
39
|
-
docs/CreateChatCompletion200ResponseVeniceParameters.md
|
|
40
|
-
docs/CreateChatCompletion200ResponseVeniceParametersWebSearchCitationsInner.md
|
|
41
|
-
docs/CreateEmbedding200Response.md
|
|
42
|
-
docs/CreateEmbedding200ResponseDataInner.md
|
|
43
|
-
docs/CreateEmbedding200ResponseUsage.md
|
|
44
|
-
docs/CreateEmbeddingRequestSchema.md
|
|
45
|
-
docs/CreateEmbeddingRequestSchemaInput.md
|
|
46
|
-
docs/CreateEmbeddingRequestSchemaModel.md
|
|
47
|
-
docs/CreateSpeechRequestSchema.md
|
|
48
|
-
docs/DeleteApiKey200Response.md
|
|
49
|
-
docs/DetailedError.md
|
|
50
|
-
docs/EditImageRequest.md
|
|
51
|
-
docs/EditImageRequestImage.md
|
|
52
|
-
docs/EmbeddingsApi.md
|
|
53
|
-
docs/GenerateImage200Response.md
|
|
54
|
-
docs/GenerateImage200ResponseTiming.md
|
|
55
|
-
docs/GenerateImageRequest.md
|
|
56
|
-
docs/GetApiKeyById200Response.md
|
|
57
|
-
docs/GetApiKeyById200ResponseData.md
|
|
58
|
-
docs/GetApiKeyGenerateWeb3Key200Response.md
|
|
59
|
-
docs/GetApiKeyGenerateWeb3Key200ResponseData.md
|
|
60
|
-
docs/GetApiKeyRateLimitLogs200Response.md
|
|
61
|
-
docs/GetApiKeyRateLimitLogs200ResponseDataInner.md
|
|
62
|
-
docs/GetApiKeyRateLimits200Response.md
|
|
63
|
-
docs/GetApiKeyRateLimits200ResponseData.md
|
|
64
|
-
docs/GetApiKeyRateLimits200ResponseDataApiTier.md
|
|
65
|
-
docs/GetApiKeyRateLimits200ResponseDataBalances.md
|
|
66
|
-
docs/GetApiKeyRateLimits200ResponseDataRateLimitsInner.md
|
|
67
|
-
docs/GetApiKeyRateLimits200ResponseDataRateLimitsInnerRateLimitsInner.md
|
|
68
|
-
docs/GetApiKeys200Response.md
|
|
69
|
-
docs/GetApiKeys200ResponseDataInner.md
|
|
70
|
-
docs/GetApiKeys200ResponseDataInnerConsumptionLimits.md
|
|
71
|
-
docs/GetApiKeys200ResponseDataInnerUsage.md
|
|
72
|
-
docs/GetApiKeys200ResponseDataInnerUsageTrailingSevenDays.md
|
|
73
|
-
docs/GetBillingUsage200Response.md
|
|
74
|
-
docs/GetBillingUsage200ResponseDataInner.md
|
|
75
|
-
docs/GetBillingUsage200ResponseDataInnerInferenceDetails.md
|
|
76
|
-
docs/GetBillingUsage200ResponsePagination.md
|
|
77
|
-
docs/GetCharacterBySlug200Response.md
|
|
78
|
-
docs/ImageApi.md
|
|
79
|
-
docs/ImageModelConstraints.md
|
|
80
|
-
docs/ImageModelConstraintsSteps.md
|
|
81
|
-
docs/ImageModelPricing.md
|
|
82
|
-
docs/ImageModelPricingGeneration.md
|
|
83
|
-
docs/ImageModelPricingUpscale.md
|
|
84
|
-
docs/ImageModelPricingUpscale2x.md
|
|
85
|
-
docs/ImageModelPricingUpscale4x.md
|
|
86
|
-
docs/ImageStylesGet200Response.md
|
|
87
|
-
docs/ImageURLObject.md
|
|
88
|
-
docs/ImageUrl.md
|
|
89
|
-
docs/JsonObject.md
|
|
90
|
-
docs/JsonSchema.md
|
|
91
|
-
docs/LLMModelPricing.md
|
|
92
|
-
docs/LLMModelPricingInput.md
|
|
93
|
-
docs/LLMModelPricingOutput.md
|
|
94
|
-
docs/ListCharacters200Response.md
|
|
95
|
-
docs/ListCharacters200ResponseDataInner.md
|
|
96
|
-
docs/ListCharacters200ResponseDataInnerStats.md
|
|
97
|
-
docs/ListModelCompatibilityMapping200Response.md
|
|
98
|
-
docs/ListModelTraits200Response.md
|
|
99
|
-
docs/ListModels200Response.md
|
|
100
|
-
docs/ListModels200ResponseType.md
|
|
101
|
-
docs/ListModelsTypeParameter.md
|
|
102
|
-
docs/ModelResponse.md
|
|
103
|
-
docs/ModelResponseModelSpec.md
|
|
104
|
-
docs/ModelResponseModelSpecCapabilities.md
|
|
105
|
-
docs/ModelResponseModelSpecConstraints.md
|
|
106
|
-
docs/ModelResponseModelSpecPricing.md
|
|
107
|
-
docs/ModelsApi.md
|
|
108
|
-
docs/ObjectsInner.md
|
|
109
|
-
docs/PostApiKeyGenerateWeb3KeyRequest.md
|
|
110
|
-
docs/PreviewApi.md
|
|
111
|
-
docs/SimpleGenerateImage200Response.md
|
|
112
|
-
docs/SimpleGenerateImage200ResponseDataInner.md
|
|
113
|
-
docs/SimpleGenerateImage200ResponseDataInnerAnyOf.md
|
|
114
|
-
docs/SimpleGenerateImage200ResponseDataInnerAnyOf1.md
|
|
115
|
-
docs/SimpleGenerateImageRequest.md
|
|
116
|
-
docs/SpeechApi.md
|
|
117
|
-
docs/StandardError.md
|
|
118
|
-
docs/SystemMessage.md
|
|
119
|
-
docs/SystemMessageContent.md
|
|
120
|
-
docs/Text.md
|
|
121
|
-
docs/TextModelConstraints.md
|
|
122
|
-
docs/TextModelConstraintsTemperature.md
|
|
123
|
-
docs/TextModelConstraintsTopP.md
|
|
124
|
-
docs/ToolCall.md
|
|
125
|
-
docs/ToolCallFunction.md
|
|
126
|
-
docs/ToolMessage.md
|
|
127
|
-
docs/UpscaleImageRequest.md
|
|
128
|
-
docs/UpscaleImageRequestEnhance.md
|
|
129
|
-
docs/UserMessage.md
|
|
130
|
-
docs/UserMessageContent.md
|
|
131
|
-
git_push.sh
|
|
132
|
-
lib/venice_client.rb
|
|
133
|
-
lib/venice_client/api/api_keys_api.rb
|
|
134
|
-
lib/venice_client/api/audio_api.rb
|
|
135
|
-
lib/venice_client/api/billing_api.rb
|
|
136
|
-
lib/venice_client/api/characters_api.rb
|
|
137
|
-
lib/venice_client/api/chat_api.rb
|
|
138
|
-
lib/venice_client/api/embeddings_api.rb
|
|
139
|
-
lib/venice_client/api/image_api.rb
|
|
140
|
-
lib/venice_client/api/models_api.rb
|
|
141
|
-
lib/venice_client/api/preview_api.rb
|
|
142
|
-
lib/venice_client/api/speech_api.rb
|
|
143
|
-
lib/venice_client/api_client.rb
|
|
144
|
-
lib/venice_client/api_error.rb
|
|
145
|
-
lib/venice_client/configuration.rb
|
|
146
|
-
lib/venice_client/models/assistant_message.rb
|
|
147
|
-
lib/venice_client/models/assistant_message_content.rb
|
|
148
|
-
lib/venice_client/models/audio_model_pricing.rb
|
|
149
|
-
lib/venice_client/models/audio_model_pricing_input.rb
|
|
150
|
-
lib/venice_client/models/billing_usage_request.rb
|
|
151
|
-
lib/venice_client/models/billing_usage_response.rb
|
|
152
|
-
lib/venice_client/models/chat_completion_request.rb
|
|
153
|
-
lib/venice_client/models/chat_completion_request_messages_inner.rb
|
|
154
|
-
lib/venice_client/models/chat_completion_request_response_format.rb
|
|
155
|
-
lib/venice_client/models/chat_completion_request_stop.rb
|
|
156
|
-
lib/venice_client/models/chat_completion_request_stream_options.rb
|
|
157
|
-
lib/venice_client/models/chat_completion_request_tool_choice.rb
|
|
158
|
-
lib/venice_client/models/chat_completion_request_tool_choice_any_of.rb
|
|
159
|
-
lib/venice_client/models/chat_completion_request_tool_choice_any_of_function.rb
|
|
160
|
-
lib/venice_client/models/chat_completion_request_venice_parameters.rb
|
|
161
|
-
lib/venice_client/models/create_api_key200_response.rb
|
|
162
|
-
lib/venice_client/models/create_api_key200_response_data.rb
|
|
163
|
-
lib/venice_client/models/create_api_key_request.rb
|
|
164
|
-
lib/venice_client/models/create_api_key_request_expires_at.rb
|
|
165
|
-
lib/venice_client/models/create_chat_completion200_response.rb
|
|
166
|
-
lib/venice_client/models/create_chat_completion200_response_choices_inner.rb
|
|
167
|
-
lib/venice_client/models/create_chat_completion200_response_choices_inner_logprobs.rb
|
|
168
|
-
lib/venice_client/models/create_chat_completion200_response_choices_inner_logprobs_top_logprobs_inner.rb
|
|
169
|
-
lib/venice_client/models/create_chat_completion200_response_choices_inner_message.rb
|
|
170
|
-
lib/venice_client/models/create_chat_completion200_response_usage.rb
|
|
171
|
-
lib/venice_client/models/create_chat_completion200_response_venice_parameters.rb
|
|
172
|
-
lib/venice_client/models/create_chat_completion200_response_venice_parameters_web_search_citations_inner.rb
|
|
173
|
-
lib/venice_client/models/create_embedding200_response.rb
|
|
174
|
-
lib/venice_client/models/create_embedding200_response_data_inner.rb
|
|
175
|
-
lib/venice_client/models/create_embedding200_response_usage.rb
|
|
176
|
-
lib/venice_client/models/create_embedding_request_schema.rb
|
|
177
|
-
lib/venice_client/models/create_embedding_request_schema_input.rb
|
|
178
|
-
lib/venice_client/models/create_embedding_request_schema_model.rb
|
|
179
|
-
lib/venice_client/models/create_speech_request_schema.rb
|
|
180
|
-
lib/venice_client/models/delete_api_key200_response.rb
|
|
181
|
-
lib/venice_client/models/detailed_error.rb
|
|
182
|
-
lib/venice_client/models/edit_image_request.rb
|
|
183
|
-
lib/venice_client/models/edit_image_request_image.rb
|
|
184
|
-
lib/venice_client/models/generate_image200_response.rb
|
|
185
|
-
lib/venice_client/models/generate_image200_response_timing.rb
|
|
186
|
-
lib/venice_client/models/generate_image_request.rb
|
|
187
|
-
lib/venice_client/models/get_api_key_by_id200_response.rb
|
|
188
|
-
lib/venice_client/models/get_api_key_by_id200_response_data.rb
|
|
189
|
-
lib/venice_client/models/get_api_key_generate_web3_key200_response.rb
|
|
190
|
-
lib/venice_client/models/get_api_key_generate_web3_key200_response_data.rb
|
|
191
|
-
lib/venice_client/models/get_api_key_rate_limit_logs200_response.rb
|
|
192
|
-
lib/venice_client/models/get_api_key_rate_limit_logs200_response_data_inner.rb
|
|
193
|
-
lib/venice_client/models/get_api_key_rate_limits200_response.rb
|
|
194
|
-
lib/venice_client/models/get_api_key_rate_limits200_response_data.rb
|
|
195
|
-
lib/venice_client/models/get_api_key_rate_limits200_response_data_api_tier.rb
|
|
196
|
-
lib/venice_client/models/get_api_key_rate_limits200_response_data_balances.rb
|
|
197
|
-
lib/venice_client/models/get_api_key_rate_limits200_response_data_rate_limits_inner.rb
|
|
198
|
-
lib/venice_client/models/get_api_key_rate_limits200_response_data_rate_limits_inner_rate_limits_inner.rb
|
|
199
|
-
lib/venice_client/models/get_api_keys200_response.rb
|
|
200
|
-
lib/venice_client/models/get_api_keys200_response_data_inner.rb
|
|
201
|
-
lib/venice_client/models/get_api_keys200_response_data_inner_consumption_limits.rb
|
|
202
|
-
lib/venice_client/models/get_api_keys200_response_data_inner_usage.rb
|
|
203
|
-
lib/venice_client/models/get_api_keys200_response_data_inner_usage_trailing_seven_days.rb
|
|
204
|
-
lib/venice_client/models/get_billing_usage200_response.rb
|
|
205
|
-
lib/venice_client/models/get_billing_usage200_response_data_inner.rb
|
|
206
|
-
lib/venice_client/models/get_billing_usage200_response_data_inner_inference_details.rb
|
|
207
|
-
lib/venice_client/models/get_billing_usage200_response_pagination.rb
|
|
208
|
-
lib/venice_client/models/get_character_by_slug200_response.rb
|
|
209
|
-
lib/venice_client/models/image_model_constraints.rb
|
|
210
|
-
lib/venice_client/models/image_model_constraints_steps.rb
|
|
211
|
-
lib/venice_client/models/image_model_pricing.rb
|
|
212
|
-
lib/venice_client/models/image_model_pricing_generation.rb
|
|
213
|
-
lib/venice_client/models/image_model_pricing_upscale.rb
|
|
214
|
-
lib/venice_client/models/image_model_pricing_upscale2x.rb
|
|
215
|
-
lib/venice_client/models/image_model_pricing_upscale4x.rb
|
|
216
|
-
lib/venice_client/models/image_styles_get200_response.rb
|
|
217
|
-
lib/venice_client/models/image_url.rb
|
|
218
|
-
lib/venice_client/models/image_url_object.rb
|
|
219
|
-
lib/venice_client/models/json_object.rb
|
|
220
|
-
lib/venice_client/models/json_schema.rb
|
|
221
|
-
lib/venice_client/models/list_characters200_response.rb
|
|
222
|
-
lib/venice_client/models/list_characters200_response_data_inner.rb
|
|
223
|
-
lib/venice_client/models/list_characters200_response_data_inner_stats.rb
|
|
224
|
-
lib/venice_client/models/list_model_compatibility_mapping200_response.rb
|
|
225
|
-
lib/venice_client/models/list_model_traits200_response.rb
|
|
226
|
-
lib/venice_client/models/list_models200_response.rb
|
|
227
|
-
lib/venice_client/models/list_models200_response_type.rb
|
|
228
|
-
lib/venice_client/models/list_models_type_parameter.rb
|
|
229
|
-
lib/venice_client/models/llm_model_pricing.rb
|
|
230
|
-
lib/venice_client/models/llm_model_pricing_input.rb
|
|
231
|
-
lib/venice_client/models/llm_model_pricing_output.rb
|
|
232
|
-
lib/venice_client/models/model_response.rb
|
|
233
|
-
lib/venice_client/models/model_response_model_spec.rb
|
|
234
|
-
lib/venice_client/models/model_response_model_spec_capabilities.rb
|
|
235
|
-
lib/venice_client/models/model_response_model_spec_constraints.rb
|
|
236
|
-
lib/venice_client/models/model_response_model_spec_pricing.rb
|
|
237
|
-
lib/venice_client/models/objects_inner.rb
|
|
238
|
-
lib/venice_client/models/post_api_key_generate_web3_key_request.rb
|
|
239
|
-
lib/venice_client/models/simple_generate_image200_response.rb
|
|
240
|
-
lib/venice_client/models/simple_generate_image200_response_data_inner.rb
|
|
241
|
-
lib/venice_client/models/simple_generate_image200_response_data_inner_any_of.rb
|
|
242
|
-
lib/venice_client/models/simple_generate_image200_response_data_inner_any_of1.rb
|
|
243
|
-
lib/venice_client/models/simple_generate_image_request.rb
|
|
244
|
-
lib/venice_client/models/standard_error.rb
|
|
245
|
-
lib/venice_client/models/system_message.rb
|
|
246
|
-
lib/venice_client/models/system_message_content.rb
|
|
247
|
-
lib/venice_client/models/text.rb
|
|
248
|
-
lib/venice_client/models/text_model_constraints.rb
|
|
249
|
-
lib/venice_client/models/text_model_constraints_temperature.rb
|
|
250
|
-
lib/venice_client/models/text_model_constraints_top_p.rb
|
|
251
|
-
lib/venice_client/models/tool_call.rb
|
|
252
|
-
lib/venice_client/models/tool_call_function.rb
|
|
253
|
-
lib/venice_client/models/tool_message.rb
|
|
254
|
-
lib/venice_client/models/upscale_image_request.rb
|
|
255
|
-
lib/venice_client/models/upscale_image_request_enhance.rb
|
|
256
|
-
lib/venice_client/models/user_message.rb
|
|
257
|
-
lib/venice_client/models/user_message_content.rb
|
|
258
|
-
lib/venice_client/version.rb
|
|
259
|
-
spec/models/detailed_error_spec.rb
|
|
260
|
-
spec/models/edit_image_request_image_spec.rb
|
|
261
|
-
spec/models/get_api_key_by_id200_response_data_spec.rb
|
|
262
|
-
spec/models/get_api_key_by_id200_response_spec.rb
|
|
263
|
-
spec/models/get_character_by_slug200_response_spec.rb
|
|
264
|
-
spec/models/standard_error_spec.rb
|
|
265
|
-
spec/spec_helper.rb
|
|
266
|
-
venice_client.gemspec
|
data/.openapi-generator/VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
7.14.0
|
data/.openapi-generator-ignore
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# OpenAPI Generator Ignore
|
|
2
|
-
# Generated by openapi-generator https://github.com/openapitools/openapi-generator
|
|
3
|
-
|
|
4
|
-
# Use this file to prevent files from being overwritten by the generator.
|
|
5
|
-
# The patterns follow closely to .gitignore or .dockerignore.
|
|
6
|
-
|
|
7
|
-
# As an example, the C# client generator defines ApiClient.cs.
|
|
8
|
-
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
|
|
9
|
-
#ApiClient.cs
|
|
10
|
-
|
|
11
|
-
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
|
|
12
|
-
#foo/*/qux
|
|
13
|
-
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
|
|
14
|
-
|
|
15
|
-
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
|
|
16
|
-
#foo/**/qux
|
|
17
|
-
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
|
|
18
|
-
|
|
19
|
-
# You can also negate patterns with an exclamation (!).
|
|
20
|
-
# For example, you can ignore all files in a docs folder with the file extension .md:
|
|
21
|
-
#docs/*.md
|
|
22
|
-
# Then explicitly reverse the ignore rule for a single file:
|
|
23
|
-
#!docs/README.md
|
data/.rspec
DELETED
data/.rubocop.yml
DELETED
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
# This file is based on https://github.com/rails/rails/blob/master/.rubocop.yml (MIT license)
|
|
2
|
-
# Automatically generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
3
|
-
AllCops:
|
|
4
|
-
TargetRubyVersion: 2.4
|
|
5
|
-
# RuboCop has a bunch of cops enabled by default. This setting tells RuboCop
|
|
6
|
-
# to ignore them, so only the ones explicitly set in this file are enabled.
|
|
7
|
-
DisabledByDefault: true
|
|
8
|
-
Exclude:
|
|
9
|
-
- '**/templates/**/*'
|
|
10
|
-
- '**/vendor/**/*'
|
|
11
|
-
- 'actionpack/lib/action_dispatch/journey/parser.rb'
|
|
12
|
-
|
|
13
|
-
# Prefer &&/|| over and/or.
|
|
14
|
-
Style/AndOr:
|
|
15
|
-
Enabled: true
|
|
16
|
-
|
|
17
|
-
# Align `when` with `case`.
|
|
18
|
-
Layout/CaseIndentation:
|
|
19
|
-
Enabled: true
|
|
20
|
-
|
|
21
|
-
# Align comments with method definitions.
|
|
22
|
-
Layout/CommentIndentation:
|
|
23
|
-
Enabled: true
|
|
24
|
-
|
|
25
|
-
Layout/ElseAlignment:
|
|
26
|
-
Enabled: true
|
|
27
|
-
|
|
28
|
-
Layout/EmptyLineAfterMagicComment:
|
|
29
|
-
Enabled: true
|
|
30
|
-
|
|
31
|
-
# In a regular class definition, no empty lines around the body.
|
|
32
|
-
Layout/EmptyLinesAroundClassBody:
|
|
33
|
-
Enabled: true
|
|
34
|
-
|
|
35
|
-
# In a regular method definition, no empty lines around the body.
|
|
36
|
-
Layout/EmptyLinesAroundMethodBody:
|
|
37
|
-
Enabled: true
|
|
38
|
-
|
|
39
|
-
# In a regular module definition, no empty lines around the body.
|
|
40
|
-
Layout/EmptyLinesAroundModuleBody:
|
|
41
|
-
Enabled: true
|
|
42
|
-
|
|
43
|
-
Layout/FirstArgumentIndentation:
|
|
44
|
-
Enabled: true
|
|
45
|
-
|
|
46
|
-
# Use Ruby >= 1.9 syntax for hashes. Prefer { a: :b } over { :a => :b }.
|
|
47
|
-
Style/HashSyntax:
|
|
48
|
-
Enabled: false
|
|
49
|
-
|
|
50
|
-
# Method definitions after `private` or `protected` isolated calls need one
|
|
51
|
-
# extra level of indentation.
|
|
52
|
-
Layout/IndentationConsistency:
|
|
53
|
-
Enabled: true
|
|
54
|
-
EnforcedStyle: indented_internal_methods
|
|
55
|
-
|
|
56
|
-
# Two spaces, no tabs (for indentation).
|
|
57
|
-
Layout/IndentationWidth:
|
|
58
|
-
Enabled: true
|
|
59
|
-
|
|
60
|
-
Layout/LeadingCommentSpace:
|
|
61
|
-
Enabled: true
|
|
62
|
-
|
|
63
|
-
Layout/SpaceAfterColon:
|
|
64
|
-
Enabled: true
|
|
65
|
-
|
|
66
|
-
Layout/SpaceAfterComma:
|
|
67
|
-
Enabled: true
|
|
68
|
-
|
|
69
|
-
Layout/SpaceAroundEqualsInParameterDefault:
|
|
70
|
-
Enabled: true
|
|
71
|
-
|
|
72
|
-
Layout/SpaceAroundKeyword:
|
|
73
|
-
Enabled: true
|
|
74
|
-
|
|
75
|
-
Layout/SpaceAroundOperators:
|
|
76
|
-
Enabled: true
|
|
77
|
-
|
|
78
|
-
Layout/SpaceBeforeComma:
|
|
79
|
-
Enabled: true
|
|
80
|
-
|
|
81
|
-
Layout/SpaceBeforeFirstArg:
|
|
82
|
-
Enabled: true
|
|
83
|
-
|
|
84
|
-
Style/DefWithParentheses:
|
|
85
|
-
Enabled: true
|
|
86
|
-
|
|
87
|
-
# Defining a method with parameters needs parentheses.
|
|
88
|
-
Style/MethodDefParentheses:
|
|
89
|
-
Enabled: true
|
|
90
|
-
|
|
91
|
-
Style/FrozenStringLiteralComment:
|
|
92
|
-
Enabled: false
|
|
93
|
-
EnforcedStyle: always
|
|
94
|
-
|
|
95
|
-
# Use `foo {}` not `foo{}`.
|
|
96
|
-
Layout/SpaceBeforeBlockBraces:
|
|
97
|
-
Enabled: true
|
|
98
|
-
|
|
99
|
-
# Use `foo { bar }` not `foo {bar}`.
|
|
100
|
-
Layout/SpaceInsideBlockBraces:
|
|
101
|
-
Enabled: true
|
|
102
|
-
|
|
103
|
-
# Use `{ a: 1 }` not `{a:1}`.
|
|
104
|
-
Layout/SpaceInsideHashLiteralBraces:
|
|
105
|
-
Enabled: true
|
|
106
|
-
|
|
107
|
-
Layout/SpaceInsideParens:
|
|
108
|
-
Enabled: true
|
|
109
|
-
|
|
110
|
-
# Check quotes usage according to lint rule below.
|
|
111
|
-
#Style/StringLiterals:
|
|
112
|
-
# Enabled: true
|
|
113
|
-
# EnforcedStyle: single_quotes
|
|
114
|
-
|
|
115
|
-
# Detect hard tabs, no hard tabs.
|
|
116
|
-
Layout/IndentationStyle:
|
|
117
|
-
Enabled: true
|
|
118
|
-
|
|
119
|
-
# Blank lines should not have any spaces.
|
|
120
|
-
Layout/TrailingEmptyLines:
|
|
121
|
-
Enabled: true
|
|
122
|
-
|
|
123
|
-
# No trailing whitespace.
|
|
124
|
-
Layout/TrailingWhitespace:
|
|
125
|
-
Enabled: false
|
|
126
|
-
|
|
127
|
-
# Use quotes for string literals when they are enough.
|
|
128
|
-
Style/RedundantPercentQ:
|
|
129
|
-
Enabled: true
|
|
130
|
-
|
|
131
|
-
# Align `end` with the matching keyword or starting expression except for
|
|
132
|
-
# assignments, where it should be aligned with the LHS.
|
|
133
|
-
Layout/EndAlignment:
|
|
134
|
-
Enabled: true
|
|
135
|
-
EnforcedStyleAlignWith: variable
|
|
136
|
-
AutoCorrect: true
|
|
137
|
-
|
|
138
|
-
# Use my_method(my_arg) not my_method( my_arg ) or my_method my_arg.
|
|
139
|
-
Lint/RequireParentheses:
|
|
140
|
-
Enabled: true
|
|
141
|
-
|
|
142
|
-
Style/RedundantReturn:
|
|
143
|
-
Enabled: true
|
|
144
|
-
AllowMultipleReturnValues: true
|
|
145
|
-
|
|
146
|
-
Style/Semicolon:
|
|
147
|
-
Enabled: true
|
|
148
|
-
AllowAsExpressionSeparator: true
|