v1.0.5
This commit is contained in:
parent
72bf84d8fa
commit
fc1817caa5
10 changed files with 42 additions and 16 deletions
20
.vscode/launch.json
vendored
20
.vscode/launch.json
vendored
|
|
@ -1,12 +1,15 @@
|
||||||
{
|
{
|
||||||
"version": "1.0.4",
|
"version": "1.0.5",
|
||||||
"configurations": [
|
"configurations": [
|
||||||
{
|
{
|
||||||
"name": "ACP Server",
|
"name": "ACP Server",
|
||||||
"type": "debugpy",
|
"type": "debugpy",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"program": "vibe/acp/entrypoint.py",
|
"program": "vibe/acp/entrypoint.py",
|
||||||
"args": ["--workdir", "${workspaceFolder}"],
|
"args": [
|
||||||
|
"--workdir",
|
||||||
|
"${workspaceFolder}"
|
||||||
|
],
|
||||||
"console": "integratedTerminal",
|
"console": "integratedTerminal",
|
||||||
"justMyCode": false
|
"justMyCode": false
|
||||||
},
|
},
|
||||||
|
|
@ -15,7 +18,10 @@
|
||||||
"type": "debugpy",
|
"type": "debugpy",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"module": "pytest",
|
"module": "pytest",
|
||||||
"args": ["-v", "-s"],
|
"args": [
|
||||||
|
"-v",
|
||||||
|
"-s"
|
||||||
|
],
|
||||||
"console": "integratedTerminal",
|
"console": "integratedTerminal",
|
||||||
"justMyCode": false,
|
"justMyCode": false,
|
||||||
"cwd": "${workspaceFolder}",
|
"cwd": "${workspaceFolder}",
|
||||||
|
|
@ -28,7 +34,13 @@
|
||||||
"type": "debugpy",
|
"type": "debugpy",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"module": "pytest",
|
"module": "pytest",
|
||||||
"args": ["-k", "${input:test_identifier}", "-vvv", "-s", "--no-header"],
|
"args": [
|
||||||
|
"-k",
|
||||||
|
"${input:test_identifier}",
|
||||||
|
"-vvv",
|
||||||
|
"-s",
|
||||||
|
"--no-header"
|
||||||
|
],
|
||||||
"console": "integratedTerminal",
|
"console": "integratedTerminal",
|
||||||
"justMyCode": false,
|
"justMyCode": false,
|
||||||
"cwd": "${workspaceFolder}",
|
"cwd": "${workspaceFolder}",
|
||||||
|
|
|
||||||
|
|
@ -25,3 +25,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
- Remove .envrc file
|
- Remove .envrc file
|
||||||
- Rename agent in distribution/zed/extension.toml to mistral-vibe, fix icon and description
|
- Rename agent in distribution/zed/extension.toml to mistral-vibe, fix icon and description
|
||||||
|
|
||||||
|
## v1.0.5
|
||||||
|
|
||||||
|
- Fix streaming with OpenAI adapter
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
id = "mistral-vibe"
|
id = "mistral-vibe"
|
||||||
name = "Mistral Vibe"
|
name = "Mistral Vibe"
|
||||||
description = "Mistral's open-source coding assistant"
|
description = "Mistral's open-source coding assistant"
|
||||||
version = "1.0.4"
|
version = "1.0.5"
|
||||||
schema_version = 1
|
schema_version = 1
|
||||||
authors = ["Mistral AI"]
|
authors = ["Mistral AI"]
|
||||||
repository = "https://github.com/mistralai/mistral-vibe"
|
repository = "https://github.com/mistralai/mistral-vibe"
|
||||||
|
|
@ -11,25 +11,25 @@ name = "Mistral Vibe"
|
||||||
icon = "./icons/mistral_vibe.svg"
|
icon = "./icons/mistral_vibe.svg"
|
||||||
|
|
||||||
[agent_servers.mistral-vibe.targets.darwin-aarch64]
|
[agent_servers.mistral-vibe.targets.darwin-aarch64]
|
||||||
archive = "https://github.com/mistralai/mistral-vibe/releases/download/v1.0.4/vibe-acp-darwin-aarch64-1.0.4.zip"
|
archive = "https://github.com/mistralai/mistral-vibe/releases/download/v1.0.5/vibe-acp-darwin-aarch64-1.0.5.zip"
|
||||||
cmd = "./vibe-acp"
|
cmd = "./vibe-acp"
|
||||||
|
|
||||||
[agent_servers.mistral-vibe.targets.darwin-x86_64]
|
[agent_servers.mistral-vibe.targets.darwin-x86_64]
|
||||||
archive = "https://github.com/mistralai/mistral-vibe/releases/download/v1.0.4/vibe-acp-darwin-x86_64-1.0.4.zip"
|
archive = "https://github.com/mistralai/mistral-vibe/releases/download/v1.0.5/vibe-acp-darwin-x86_64-1.0.5.zip"
|
||||||
cmd = "./vibe-acp"
|
cmd = "./vibe-acp"
|
||||||
|
|
||||||
# [agent_servers.mistral-vibe.targets.linux-aarch64]
|
# [agent_servers.mistral-vibe.targets.linux-aarch64]
|
||||||
# archive = "https://github.com/mistralai/mistral-vibe/releases/download/v1.0.4/vibe-acp-linux-aarch64-1.0.4.zip"
|
# archive = "https://github.com/mistralai/mistral-vibe/releases/download/v1.0.5/vibe-acp-linux-aarch64-1.0.5.zip"
|
||||||
# cmd = "./vibe-acp"
|
# cmd = "./vibe-acp"
|
||||||
|
|
||||||
[agent_servers.mistral-vibe.targets.linux-x86_64]
|
[agent_servers.mistral-vibe.targets.linux-x86_64]
|
||||||
archive = "https://github.com/mistralai/mistral-vibe/releases/download/v1.0.4/vibe-acp-linux-x86_64-1.0.4.zip"
|
archive = "https://github.com/mistralai/mistral-vibe/releases/download/v1.0.5/vibe-acp-linux-x86_64-1.0.5.zip"
|
||||||
cmd = "./vibe-acp"
|
cmd = "./vibe-acp"
|
||||||
|
|
||||||
# [agent_servers.mistral-vibe.targets.windows-aarch64]
|
# [agent_servers.mistral-vibe.targets.windows-aarch64]
|
||||||
# archive = "https://github.com/mistralai/mistral-vibe/releases/download/v1.0.4/vibe-acp-windows-aarch64-1.0.4.zip"
|
# archive = "https://github.com/mistralai/mistral-vibe/releases/download/v1.0.5/vibe-acp-windows-aarch64-1.0.5.zip"
|
||||||
# cmd = "./vibe-acp.exe"
|
# cmd = "./vibe-acp.exe"
|
||||||
|
|
||||||
[agent_servers.mistral-vibe.targets.windows-x86_64]
|
[agent_servers.mistral-vibe.targets.windows-x86_64]
|
||||||
archive = "https://github.com/mistralai/mistral-vibe/releases/download/v1.0.4/vibe-acp-windows-x86_64-1.0.4.zip"
|
archive = "https://github.com/mistralai/mistral-vibe/releases/download/v1.0.5/vibe-acp-windows-x86_64-1.0.5.zip"
|
||||||
cmd = "./vibe-acp.exe"
|
cmd = "./vibe-acp.exe"
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[project]
|
[project]
|
||||||
name = "mistral-vibe"
|
name = "mistral-vibe"
|
||||||
version = "1.0.4"
|
version = "1.0.5"
|
||||||
description = "Minimal CLI coding agent by Mistral"
|
description = "Minimal CLI coding agent by Mistral"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.12"
|
requires-python = ">=3.12"
|
||||||
|
|
|
||||||
|
|
@ -351,7 +351,7 @@ class TestInitialization:
|
||||||
mcpCapabilities=McpCapabilities(http=False, sse=False),
|
mcpCapabilities=McpCapabilities(http=False, sse=False),
|
||||||
)
|
)
|
||||||
assert response.result.agentInfo == Implementation(
|
assert response.result.agentInfo == Implementation(
|
||||||
name="@mistralai/mistral-vibe", title="Mistral Vibe", version="1.0.4"
|
name="@mistralai/mistral-vibe", title="Mistral Vibe", version="1.0.5"
|
||||||
)
|
)
|
||||||
vibe_setup_method = next(
|
vibe_setup_method = next(
|
||||||
(
|
(
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,7 @@ def default_config() -> VibeConfig:
|
||||||
textual_theme="gruvbox",
|
textual_theme="gruvbox",
|
||||||
disable_welcome_banner_animation=True,
|
disable_welcome_banner_animation=True,
|
||||||
displayed_workdir="/test/workdir",
|
displayed_workdir="/test/workdir",
|
||||||
|
enable_update_checks=False,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,11 @@ class SnapshotTestAppWithUpdate(BaseSnapshotTestApp):
|
||||||
version_update_notifier = FakeVersionUpdateGateway(
|
version_update_notifier = FakeVersionUpdateGateway(
|
||||||
update=VersionUpdate(latest_version="1000.2.0")
|
update=VersionUpdate(latest_version="1000.2.0")
|
||||||
)
|
)
|
||||||
super().__init__(config=config, version_update_notifier=version_update_notifier)
|
super().__init__(
|
||||||
|
config=config,
|
||||||
|
version_update_notifier=version_update_notifier,
|
||||||
|
current_version="1.0.4",
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
def test_snapshot_shows_release_update_notification(snap_compare: SnapCompare) -> None:
|
def test_snapshot_shows_release_update_notification(snap_compare: SnapCompare) -> None:
|
||||||
|
|
|
||||||
2
uv.lock
generated
2
uv.lock
generated
|
|
@ -661,7 +661,7 @@ wheels = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "mistral-vibe"
|
name = "mistral-vibe"
|
||||||
version = "1.0.4"
|
version = "1.0.5"
|
||||||
source = { editable = "." }
|
source = { editable = "." }
|
||||||
dependencies = [
|
dependencies = [
|
||||||
{ name = "agent-client-protocol" },
|
{ name = "agent-client-protocol" },
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
__all__ = ["__version__", "run_programmatic"]
|
__all__ = ["__version__", "run_programmatic"]
|
||||||
__version__ = "1.0.4"
|
__version__ = "1.0.5"
|
||||||
|
|
||||||
from vibe.core.programmatic import run_programmatic
|
from vibe.core.programmatic import run_programmatic
|
||||||
|
|
|
||||||
|
|
@ -122,6 +122,11 @@ class OpenAIAdapter(APIAdapter):
|
||||||
model_name, converted_messages, temperature, tools, max_tokens, tool_choice
|
model_name, converted_messages, temperature, tools, max_tokens, tool_choice
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if enable_streaming:
|
||||||
|
payload["stream"] = True
|
||||||
|
if provider.name == "mistral":
|
||||||
|
payload["stream_options"] = {"stream_tool_calls": True}
|
||||||
|
|
||||||
headers = self.build_headers(api_key)
|
headers = self.build_headers(api_key)
|
||||||
|
|
||||||
body = json.dumps(payload).encode("utf-8")
|
body = json.dumps(payload).encode("utf-8")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue