toolium 3.8.2__tar.gz → 3.8.3__tar.gz
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.
- {toolium-3.8.2 → toolium-3.8.3}/CHANGELOG.rst +9 -0
- {toolium-3.8.2/toolium.egg-info → toolium-3.8.3}/PKG-INFO +1 -1
- toolium-3.8.3/VERSION +1 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/utils/ai_utils/openai.py +9 -9
- {toolium-3.8.2 → toolium-3.8.3/toolium.egg-info}/PKG-INFO +1 -1
- toolium-3.8.2/VERSION +0 -1
- {toolium-3.8.2 → toolium-3.8.3}/LICENSE +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/MANIFEST.in +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/README.rst +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/pyproject.toml +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/requirements.txt +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/requirements_ai.txt +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/requirements_dev.txt +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/requirements_playwright.txt +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/setup.cfg +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/setup.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/__init__.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/behave/__init__.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/behave/env_utils.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/behave/environment.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/config_driver.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/config_driver_playwright.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/config_files.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/config_parser.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/driver_wrapper.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/driver_wrappers_pool.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/jira.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/pageelements/__init__.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/pageelements/button_page_element.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/pageelements/checkbox_page_element.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/pageelements/group_page_element.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/pageelements/input_radio_page_element.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/pageelements/input_text_page_element.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/pageelements/link_page_element.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/pageelements/page_element.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/pageelements/page_elements.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/pageelements/playwright/__init__.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/pageelements/playwright/button_page_element.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/pageelements/playwright/input_text_page_element.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/pageelements/playwright/page_element.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/pageelements/playwright/text_page_element.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/pageelements/select_page_element.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/pageelements/text_page_element.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/pageobjects/__init__.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/pageobjects/common_object.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/pageobjects/mobile_page_object.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/pageobjects/page_object.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/pytest_fixtures.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/resources/VisualTests.css +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/resources/VisualTests.js +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/resources/VisualTestsTemplate.html +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/selenoid.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/test_cases.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/utils/__init__.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/utils/ai_utils/__init__.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/utils/ai_utils/accuracy.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/utils/ai_utils/ai_agent.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/utils/ai_utils/evaluate_answer.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/utils/ai_utils/prompt_injection.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/utils/ai_utils/spacy.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/utils/ai_utils/text_analysis.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/utils/ai_utils/text_readability.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/utils/ai_utils/text_similarity.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/utils/data_generator.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/utils/dataset.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/utils/download_files.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/utils/driver_utils.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/utils/driver_wait_utils.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/utils/path_utils.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/utils/poeditor.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium/visual_test.py +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium.egg-info/SOURCES.txt +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium.egg-info/dependency_links.txt +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium.egg-info/requires.txt +0 -0
- {toolium-3.8.2 → toolium-3.8.3}/toolium.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
Toolium Changelog
|
|
2
2
|
=================
|
|
3
3
|
|
|
4
|
+
v3.8.3
|
|
5
|
+
------
|
|
6
|
+
|
|
7
|
+
*Release date: 2026-07-15*
|
|
8
|
+
|
|
9
|
+
- Fix `openai_request` to rename `azure_api_key` and `openai_api_key` parameters to `api_key` to avoid errors when Azure and OpenAI are created.
|
|
10
|
+
- Add `openai_temperature` and `azure_temperature` parameters to be configurable in `toolium.cfg` file to set the temperature for OpenAI and Azure requests.
|
|
11
|
+
- Generalize documentation for `openai_request` configuration.
|
|
12
|
+
|
|
4
13
|
v3.8.2
|
|
5
14
|
------
|
|
6
15
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: toolium
|
|
3
|
-
Version: 3.8.
|
|
3
|
+
Version: 3.8.3
|
|
4
4
|
Summary: Wrapper tool of Selenium and Appium libraries to test web and mobile applications in a single project
|
|
5
5
|
Author-email: Rubén González Alonso <ruben.gonzalezalonso@telefonica.com>
|
|
6
6
|
License: Apache 2.0
|
toolium-3.8.3/VERSION
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.8.3
|
|
@@ -45,23 +45,23 @@ def openai_request(system_message, user_message, model_name=None, azure=False, *
|
|
|
45
45
|
config = DriverWrappersPool.get_default_wrapper().config
|
|
46
46
|
model_name = model_name or config.get_optional('AI', 'openai_model', 'gpt-4o-mini')
|
|
47
47
|
logger.info('Calling to OpenAI API with model %s', model_name)
|
|
48
|
-
|
|
49
48
|
response_format = None
|
|
50
49
|
if kwargs.get('response_format'):
|
|
51
50
|
response_format = kwargs.pop('response_format')
|
|
52
51
|
kwargs.pop('response_format', None)
|
|
53
|
-
client = AzureOpenAI(**kwargs) if azure else OpenAI(**kwargs)
|
|
54
52
|
if azure:
|
|
55
53
|
for key in ('azure_api_key', 'azure_endpoint', 'api_version', 'azure_deployment'):
|
|
56
54
|
value = config.get_optional('AI', key)
|
|
57
55
|
if value:
|
|
58
|
-
|
|
56
|
+
kwargs_key = 'api_key' if key == 'azure_api_key' else key
|
|
57
|
+
kwargs.setdefault(kwargs_key, value)
|
|
58
|
+
temperature = config.get_optional('AI', 'azure_temperature', None)
|
|
59
59
|
else:
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
kwargs.setdefault(key, value)
|
|
60
|
+
kwargs.setdefault('api_key', config.get_optional('AI', 'openai_api_key'))
|
|
61
|
+
temperature = config.get_optional('AI', 'openai_temperature', None)
|
|
62
|
+
client = AzureOpenAI(**kwargs) if azure else OpenAI(**kwargs)
|
|
64
63
|
messages = []
|
|
64
|
+
temperature = float(temperature) if temperature is not None else None
|
|
65
65
|
if isinstance(system_message, list):
|
|
66
66
|
for prompt in system_message:
|
|
67
67
|
messages.append({'role': 'system', 'content': prompt})
|
|
@@ -71,11 +71,11 @@ def openai_request(system_message, user_message, model_name=None, azure=False, *
|
|
|
71
71
|
|
|
72
72
|
if response_format:
|
|
73
73
|
completion = client.beta.chat.completions.parse(
|
|
74
|
-
model=model_name, messages=messages, response_format=response_format
|
|
74
|
+
model=model_name, messages=messages, response_format=response_format, temperature=temperature
|
|
75
75
|
)
|
|
76
76
|
response = completion.choices[0].message.parsed
|
|
77
77
|
else:
|
|
78
|
-
completion = client.chat.completions.create(model=model_name, messages=messages)
|
|
78
|
+
completion = client.chat.completions.create(model=model_name, messages=messages, temperature=temperature)
|
|
79
79
|
response = completion.choices[0].message.content
|
|
80
80
|
token_usage = {}
|
|
81
81
|
if completion.usage:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: toolium
|
|
3
|
-
Version: 3.8.
|
|
3
|
+
Version: 3.8.3
|
|
4
4
|
Summary: Wrapper tool of Selenium and Appium libraries to test web and mobile applications in a single project
|
|
5
5
|
Author-email: Rubén González Alonso <ruben.gonzalezalonso@telefonica.com>
|
|
6
6
|
License: Apache 2.0
|
toolium-3.8.2/VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
3.8.2
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|