inworld-ai / inworld-web-sdk Goto Github PK
View Code? Open in Web Editor NEWWeb SDK for Inworld.ai. Integrate AI characters into your browser.
License: Other
Web SDK for Inworld.ai. Integrate AI characters into your browser.
License: Other
2.4.1
Chat history cannot be restored
Chat history can be restored
connection.getSessionState()
inworld-ai/inworld-web-sdk/packages/web-core/src/services/connection.service.ts:348
if (this.connectionProps?.config?.history?.previousState) {
It's possible that this condition isn't related to this and I'm just misanalyzing something, but either way restoring dialogues or state doesn't work
Chrome
1.9.0
Was getting the following error on occasion when clicking on the Record icon in the example app with promptness.:
DOMException: Failed to execute 'createAnswer' on 'RTCPeerConnection': PeerConnection cannot create an answer in a state other than have-remote-offer or have-local-pranswer.
The error
DOMException: Failed to execute 'createAnswer' on 'RTCPeerConnection': PeerConnection cannot create an answer in a state other than have-remote-offer or have-local-pranswer.
I can just try to re-click the record icon or toggle on/off and it seems to get back into a good state.
Record voice enables.
I thought this would fix but looks like it does not. I just got it to reproduce again.
drcrallen@1ab5948
With the above patch I got:
Failed starting audio: DOMException: Failed to execute 'setRemoteDescription' on 'RTCPeerConnection': Failed to set remote answer sdp: Called in wrong state: stable
Chrome
DOMException: Failed to execute 'createAnswer' on 'RTCPeerConnection': PeerConnection cannot create an answer in a state other than have-remote-offer or have-local-pranswer.
Uncaught (in promise) Error: Audio session is already started
I get this error in a Sveltekit project:
import { InworldClient } from './clients/inworld.client.js';
^^^^^^
SyntaxError: Cannot use import statement outside a module
adding "type": "module"
in your package.json
solved the problem.
1.9.2
src/services/pb/world_engine.service.ts line 20
const { version } = require('../../../package.json');
fetching version number from package.json with require
creates an error while building
Firefox, Chrome, Safari, Microsoft Edge
No response
1.6.0
The app would not start because it could not import the Skeleton component.
The app the start.
I've submitted a PR to fix this issue.
Chrome
Failed to compile.
Module not found: Error: Cannot find file: 'Skeleton.tsx' does not match the corresponding name on disk: './src/app/components/skeleton/Skeleton'.
ERROR in ./src/app/components/innequin/Scene.tsx 10:0-48
Module not found: Error: Cannot find file: 'Skeleton.tsx' does not match the corresponding name on disk: './src/app/components/skeleton/Skeleton'.
ERROR in ./src/app/components/3dAvatar/InworldChar3D.tsx 11:0-48
Module not found: Error: Cannot find file: 'Skeleton.tsx' does not match the corresponding name on disk: './src/app/components/skeleton/Skeleton'.
https://github.com/inworld-ai/inworld-web-sdk/tree/main/examples/generate_token
The example generate_token server crashes upon request. Here is the error code I am facing:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.