Skip to content

Commit fb2a4e9

Browse files
victor-bluerabluera-ai
authored andcommitted
fix(1.1.1): adds keep alive and stream backward compatibility to openrouter models
1 parent 1910071 commit fb2a4e9

4 files changed

Lines changed: 13 additions & 5 deletions

File tree

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ UIN is a protocol aiming to standardize, simplify and modularize these fundament
5555

5656
It provides three specifications: `Universal Model`, `Universal Tool`, and `Universal Agent`.
5757

58-
UIN also provides a set of **ready-made components and playgrounds** for you to get familiar with the protocol and start building in seconds.
58+
UIN also provides a set of **ready-made components and [playgrounds](https://colab.research.google.com/drive/1pZePgqRJq2hb29OzNfYo0diAIlpEuGeb?usp=sharing)** for you to get familiar with the protocol and start building in seconds.
5959

6060
![lng_icon](https://fasplnlepuuumfjocrsu.supabase.co/storage/v1/object/public/web-assets//icons8-python-16.png) ![lng_icon](https://fasplnlepuuumfjocrsu.supabase.co/storage/v1/object/public/web-assets//icons8-javascript-16.png) `Universal Intelligence` can be used across **all platforms** (cloud, desktop, web, mobile).
6161

@@ -93,6 +93,8 @@ For example, UIN models are designed to automatically detect the current hardwar
9393

9494
## Get Started
9595

96+
> An online [**Google Colab Playground**](https://colab.research.google.com/drive/1pZePgqRJq2hb29OzNfYo0diAIlpEuGeb?usp=sharing) is now available to help introduce you to making AI applications using `⚪ Universal Intelligence`! ⚡
97+
9698
Get familiar with the composable building blocks, using the default **community components**.
9799

98100
```sh
@@ -159,7 +161,13 @@ Preview:
159161

160162
### Playground
161163

162-
A ready-made playground is available to help familiarize yourself with the protocols and components.
164+
#### Online
165+
166+
An online [**Google Colab Playground**](https://colab.research.google.com/drive/1pZePgqRJq2hb29OzNfYo0diAIlpEuGeb?usp=sharing) is now available!
167+
168+
#### Local
169+
170+
A ready-made playground is also available locally to help familiarize yourself with the protocols and components.
163171

164172
```sh
165173
python -m playground.example

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "universalintelligence",
3-
"version": "1.1.0",
3+
"version": "1.1.1",
44
"description": "Universal Intelligence Protocols and Community Components",
55
"main": "distweb/index.js",
66
"type": "module",

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "universal-intelligence"
7-
version = "1.1.0"
7+
version = "1.1.1"
88
authors = [
99
{ name = "Bluera Inc.", email = "bluera@bluera.ai" },
1010
]

universal_intelligence/community/models/__utils__/mixins/openrouter_text_to_text/interface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def _translate_generation_config(self, configuration: dict | None = None) -> dic
145145

146146
return result
147147

148-
def process(self, input: str | list[Message], context: list[Any] | None = None, configuration: dict | None = None, remember: bool = False) -> tuple[Any, dict]:
148+
def process(self, input: str | list[Message], context: list[Any] | None = None, configuration: dict | None = None, remember: bool = False, keep_alive: bool = False, stream: bool = False) -> tuple[Any, dict]:
149149
"""Process input through the model."""
150150
with Logger(self._log_level) as logger:
151151
logger.print(message=f"* Invoking remote model.. ({self.name}) *\n", color=Color.WHITE)

0 commit comments

Comments
 (0)