no option to build mpv with jack support?

Issue description
it seems like mpv is built w/o jack support and no option to change that
meanwhile, editing mpv default.nix to add jack support seems to work just fine (i did that w/o regard to flags hence no PR (yet)) so i wonder why it isn't enabled?
Steps to reproduce
try jack-related option (as described in man which makes it confusing, especially since "-ao jack" doesn't fail), get "unrecognized option"
Technical details
 - system: `"x86_64-linux"`
 - host os: `Linux 5.15.160-rt77, NixOS, 24.05 (Uakari), 24.05.3523.a633d89c6dc9`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.5`
 - channels(caryoscelus): `""`
 - channels(root): `"nixos-24.05, nixos-unstable"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

(pkgs.mpv.override { mpv = pkgs.mpv-unwrapped.override { jackaudioSupport = true; }; }) is one way to do it

thanks, i'll try that! any reason it's not enabled by default when jack is present? or isn't an easier to discover option?

There's no capability for packages in nixpkgs to inspect NixOS modules at the moment.
If there was some programs.mpv.* options then that'd be possible, but no one's written an mpv NixOS module in the repo yet.


Number keypad inoperative on alphanumeric search

SEARCH:

It would be nice to be able to use the number pad to enter in numbers rather than needing to type with the numbers above the letters.

On my phone
SEARCH:

text seems to be fine, but numbers don’t enter into the typed search boxes unless I type my number (tree ID) and then click the autocorrect for that number at the top of the keypad

From Stephanie Weyer at KZLA/ENC

Duplicate of #40


Use SUSE:ALP:ToTest instead of SUSE:ALP

and make use of Snapshot.* naming scheme
This is a follow-up of #192

Thanks @andrii-suse !

@ggardet can you fix conflicts and we can merge?

@ggardet can you fix conflicts and we can merge?

Rebased

@mloviska @foursixnine

anyone with merge rights?


tests: add shellcheck

add shellcheck test
Closes: #48
Signed-off-by: Aaron Shaw<EMAIL_ADDRESS>

Just realised that the linter.yml looks like it's already doing shellcheck here...
https://github.com/NebraLtd/hm-config/actions/runs/1087612259


Does not support the following conditions

The Model:
public class User {
public static class Add {
private Long id;
}
}
public class Order {
public static class Add {
private Long id;
}
}

What is the condition, static inner classes?

yes,inner classes,same inner class name.

Is this issue fixed by now? I'm running into this same-name static inner classes problem, too. @dilipkrish

sorry to bother, this can be solved by setting different value field in the @APIModel annotation


added possibility to subscribe to topics by a whitelist

This commit adds possibility to subscribe to multiple topics at once by using whitelist (ie. (topic1|topic2))

@jpodeszwik I think #19 took care of this.  Would you please check?

@joekiller Yes. https://github.com/joekiller/jruby-kafka/pull/19 took care of this. Thanks.


Hello.

[Enter feedback here]

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 4ad59e7d-574d-7bd5-3fc9-a9656e186258
Version Independent ID: e827f939-99b2-31e7-b65a-ee3ad499573e
Content: Configure the Group Policy settings for Microsoft Defender Application Guard - Windows Security
Content Source: windows/security/threat-protection/microsoft-defender-application-guard/configure-md-app-guard.md
Product: windows-client
Technology: itpro-security
GitHub Login: @vinaypamnani-msft
Microsoft Alias: vinpa

I'm assuming this is a misfire or test. If you have actionable feedback for this article, please reopen this issue and provide additional details.


Error in Firestore while combine .endAt() with .limit()

Version info
Angular: 5.2.9
Firebase:4.12.1
AngularFire:5.0.0-rc.6
Hi ..
I'm having problems in Firestore when combining the options .endAt () with .limit () ..
Example .. I have 10 items in my collection .. I request to filter these items and get only 3 items ending in the "Item 06" ..
ref
.orderBy ('Title') // Name of the field where the names of the Items are found (example "Item 01", "Item 02", etc.)
.endAt ('Item 06')
.limit (3)

I get a list of "Item 01", "Item 02" and "Item 03" ..
If I delete the .limit (3) to the same query, I get "Item 01", "Item 02", "Item 03", "Item 04", "Item 05" and "Item 06"
The collection contains 12 Items ..
With the option .startAt () works perfect ..
Will it be my problem due to lack of use? Firebase problem, or the library?
Thank you very much ..
Michel

This is working as expected. EndAt and Limit when used in conjunction ends with the the "first to hit.   Limit means no more than 3. EndAt means end once reached, it doesn't set the floor.
For the behavior you're seeking, you should reverse the order (sort "desc"), use startAt, and then flip it once you get your results back.

Hello James ..
I understood the operation as you say .. although I do not understand what would be its usefulness ..
I already made the query to Firebase and really still lacks development to be used in production.
I will try to use firebase realtime database to see if with this I have better luck ..
Thank you


upgrade to RN 0.56 throws warning

hello,
after the upgrade to RN 0.56 the following warning is thrown:
focusTextInput is deprecated, use the focus method of the TextInput ref instead.
the focus is not working anymore as it did before (eventhough it is just a warning, the functionality is broken)

Except this, after upgrading to RN 0.56, it's badly broken.

Thank you for your feedback.
It should be due to some method changes after the new version is updated. I will take some time to fix this problem in the near future.

@baijunjie Thanks for your quick reply.
It would be really awesome if you can update your lib to be compatible with latest RN version.
But for now, would you please let us know which RN version works best with this library (react-native-input-scroll-view@1.6.7)?
Thanks

@baijunjie Thanks. Will look forward to your update to work with latest RN version.
FYI new RN versions somehow support the built-in auto-grow feature of TextInput component.
Maybe you'll want to take advantage of that or just keep the way of workaround solution that you already implemented.

@baijunjie Thanks for updating the repo to work well with new RN version.
But I found this bug. When I am typing in above the middle of the screen, It lost the current cursor position and scroll jumps down to make cursor position in the bottom area of the screen.

Here's the repo where you can replicate.
https://github.com/themarvelme/RN-input-scroll-view-bug-show


CocoaPods can't resolve KeyboardKit 3.0

I can't release KeyboardKitSwiftUI 3.0 to CocoaPods, since my computer can't find KeyboardKit 3.0 in the trunk.
Can someone else confirm that this is the case?

I tried now and it worked right away. I must have been on a strange cache that didn't flush properly.


How to compute the exact activation memory by formula?

In the traditional attention, the activation memory can be computed in $11sbh+5as^2b$ bytes. (from paper https://arxiv.org/pdf/2205.05198.pdf)
My question is: How to compute the exact activation memory in flash attention?
In my experiment, I got around $11sbh$ bytes increment in memory. I know it needs to store the input, q, k, v, totally $8sbh$. What did I missed?

Idk how the numbers 11sbh and 5as^2b are derived, so it's hard for me to say. Might need to read the paper ^^ closely. My first reaction is that there'll be no term that's quadratic in s, so the 5as^2b term should be gone.

Idk how the numbers 11sbh and 5as^2b are derived, so it's hard for me to say. Might need to read the paper ^^ closely. My first reaction is that there'll be no term that's quadratic in s, so the 5as^2b term should be gone.

Thanks for your reply!
I did an experiment and measure memory usage by torch.cuda.memory_allocated.
I got a number around 11sbh. I am not sure it's correct with theory.

I found the answer: $12sbh + 4sbh_a$
from flash_attn.flash_attn_interface import flash_attn_qkvpacked_func
import torch
from einops import rearrange

s = 4096
b = 1
h = 8192 # hidden
ah = 256 # attention head hidden
nh = h//ah # attention heads

class Attention(torch.nn.Module):
    def __init__(self):
        super().__init__()
        self.query_key_value = torch.nn.Linear(h, 3*h, bias=False)
        self.dense = torch.nn.Linear(h, h, bias=False)

    def forward(self, hidden_states):
        mixed_x_layer = self.query_key_value(hidden_states)
        mixed_x_layer = mixed_x_layer.view(b, s, 3, nh, ah)
        output = flash_attn_qkvpacked_func(mixed_x_layer, causal=True)
        output_reshape = rearrange(output, 'b s h d -> b s (h d)')
        dense_output = self.dense(output_reshape)
        return dense_output

And then print the memory usage
def print_memory():
    model = Attention().bfloat16().cuda()
    torch.cuda.synchronize()
    m = torch.cuda.memory_allocated()
    hidden = torch.rand((b,s,h), requires_grad=True).bfloat16().cuda()
    output = model(hidden)
    torch.cuda.synchronize()
    print(torch.cuda.memory_allocated() - m)

Outputs:

403177984

403177984 - (12sbh + 4bsnh)

512

Hidden and output: $2\times 2sbh$ (bf16)

According to:
https://github.com/Dao-AILab/flash-attention/blob/36587c01cb4390de0a590b2131e3fcc4859ba09c/flash_attn/flash_attn_interface.py#L237
which saves q, k, v, o, softmax_lse, rng_state

q, k, v, o 's size is $4\times 2sbh$ (bf16)
softmax_lse's size $4bsh_a$ (float32)
rng_state's size $2*4$ (int64)

in total, $12sbh + 4sbh_a$


VS - Typescript compile does not execute during build (for CONSOLE application)

I have a git repository stored in Visual Studio Online (or whatever the new name is).  In that repository is a *csproj that was configured for typescript.  If I clone that repository onto a new machine and do a build from within visual studio, the typescript compiler does not run.  If I open a *.ts file, make an arbitrary change and save, all *js files are generated as expected (when I save the file).  I checked the *.csproj file and see this (which I think is correct):

Anyone have any idea why the typescript compiler does not seem to be triggered during the build?  Any suggestions for diagnostics I can put in to get more info?

I will need the build log to be able to help you out. Run msbuild /v:detailed project.csproj.
Looks like you have compile-on-save enabled, that is why saving a file causes the generation of outputs.

It appears I jumped the gun.  I created a new project to try to reproduce this issue, and I was unable to reproduce it in a new WEB app.  I then realized that my current project is actually a CONSOLE app (I'm self-hosting a Nancy application that also uses typescript).  When comparing the two *.csproj files, it finally came down to this line that got things working:

Is this the RECOMMENDED way to get the typescript build working in a Console application?  Is building typescript in a console application a supported scenario?

Looks like it didn't like the XML formatting.....it was an import of $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets

you need the .props file (for defaults) and the .targets file: https://github.com/Microsoft/TypeScript/wiki/Integrating-with-Build-Tools#msbuild
you can also use NuGet: https://github.com/Microsoft/TypeScript/wiki/Integrating-with-Build-Tools#nuget


Add location of Juypter notebooks to developer guide

Describe folder for notebook file to be in
data-science-sandbox/exasol/ds/sandbox/runtime/ansible/roles/jupyter/files/notebook/

(This ticket is addressed by the same PR #60 as sibling ticket #16.


[Live] Rendering a list of nested components

Live Components version 2.5
In the parent component I am rendering a list of translation objects inside a table with a table row for each translation. Inside each row, in one of the td elements I am rendering a child component that implements functionality to edit the text property of the translation object.
The parent component has a form with several fields to search for specific translations on top. All of these fields have data-model attributes and cause the parent to re-render and thus refresh the list.
When the list is refreshed, there are sometimes child components with empty content.
Example:

Here is the list after entering a couple of more symbols in the search field:

Hi @StrahilRuychev!
A lot of under-the-hood changes occurred with live components 2.5, so this is most certainly a bug. Question: is the child element normally attached to the <td>? Or is it attached to the <div> inside the <td> (as shown in the screenshot)? Also, do you have any JavaScript errors?
Thanks!

Hi @weaverryan
The child component is attached to a div which is inside a td element.
No JavaScript errors that I can see.

Thank you! If you're able to build a reproducer repository, that would be very helpful. Otherwise, I will try to build one soon so that we can dig into the root problem.

@weaverryan Hi,
here you are:
https://gitlab.com/straho99/translations-demo
One more question. With version 2.5 I get way more ajax requests than with version 2.4. Before I had only one request to update the parent component. Now I get one ajax for the parent, and one per each of the child components (which can be in the hundreds). The child ajax requests in this case are really not needed as there is no change of state for them. Is this something worth looking into?

Before I had only one request to update the parent component. Now I get one ajax for the parent, and one per each of the child components (which can be in the hundreds). The child ajax requests in this case are really not needed as there is no change of state for them. Is this something worth looking into?

I expect we'll need some new "mode" to handle this. In 2.4, when the parent component re-rendered, that re-render included all of the children as well. So, it included the full HTML for the parent component. In 2.5, when a parent component re-renders, if you looked in the HTML returned from the server, the "child" component elements would be empty elements. Then, if needed (it's "needed" if re-rendering caused any props passed to the children to change), the child components will make a separate Ajax request to render themselves.
Why did we do this? Because, in some cases, the child components might be very "heavy" to render, which is why you include them as a separate component. This allows for the parent to be re-rendered quickly, and then the children are rendered independently, but only if they need to be (again, if a parent re-renders, and that doesn't cause any "props" that were passed to the child to change, then the child doesn't need to be re-rendered, and it won't be).
However, this is not always the behavior you want. In your example, I'm guessing (?) that sometimes when the parent component re-renders, this causes some prop to change that is passed to the children? So you get the behavior where (1) the parent component Ajax call finishes then (2) all the children make their own Ajax call. Is that about right? We likely need some "mode" where you can say that you want a child component to "re-render eagerly". What this would mean is:

When my parent re-renders, please also send up my data so that I am also rendered during that Ajax request.

Does that sound like what you need?

Fixed in #596!

Oh, but, by, when you use data-live-id, pass a string that doesn't start with a number. So I used something like 'data-live-id': 'translation-'~translation.id in your reproducer. That wasn't what was causing your issues (the bugs were the issue), but it is something that you would still need to update in your code after #596.

Thanks, will keep that in mind :)

However, this is not always the behavior you want. In your example, I'm guessing (?) that sometimes when the parent component re-renders, this causes some prop to change that is passed to the children? So you get the behavior where (1) the parent component Ajax call finishes then (2) all the children make their own Ajax call. Is that about right? We likely need some "mode" where you can say that you want a child component to "re-render eagerly". What this would mean is:

When my parent re-renders, please also send up my data so that I am also rendered during that Ajax request.

Does that sound like what you need?

If I understand you correctly, this is exactly what I need. In my case the parent component makes an http request to an external service to get a list of translation objects (each with translation locale, domain, key and text). Then the parent renders a child component for each of these translation objects. The parent component has functionality to filter the translations by locale, domain, translation key and translation text. When the user selects a different translation domain for example, another http request is made to the external service and a fresh batch of translation objects is fetched. So, all of the previous child components has to be replaced with a set of new ones.

I think you'll be quite happy after #596 is merged (I'll do it today). After trying that new code, you can tell me if there is anything else that doesn't seem right. When I tried your example with the new code, it worked wonderfully :)


Gpt-4 is adding "// ... existing code ..." which Aider writes to file and commits

Example:

⬇

Thanks for trying aider and reporting this issue.
I just added a FAQ entry that you might find helpful:
https://aider.chat/docs/faq.html#aider-isnt-editing-my-files

I'm going to close this issue for now, but feel free to re-open or file a new issue any time.

Thank you Paul,
It's my pleasure!
Cool. I wrote kinda exact the same prompt as you mentioned in the FAQ to solve this.
What do you think of adding the prompt to the system messages? Or will the system messages get to large by including this kind of stuff there?


[ci][binskim]skip cppwinrt.exe binary checks

Summary of the Pull Request
What is this about:
CI is currently failing on postbuild static analysis of winrtcpp.exe inside Microsoft.Windows.CppWinRT packages. This makes little sense, since it's an official Microsoft release.
What is include in the PR:
Skip the binary check for those files.

I'm going to merge this in so we can get a build.


Cant create pull requests

I have added a guard to the samples.Blazor project to check for a valid model and API key configuration. Unfortunately, I'm unable to create a pull request for this repo?

It's wired, because. PR are enabled. What error message is it shown?

Close this for now, feel free to reopen it.


auto completion

Auto completion for command-line and commands

We don't have so many complicated commands that we'd need it.


Change Stage Event (0.6.3 source code)

What is your question?
Is it possible to make a Stage change in version 0.6.3, I want to create an event on the change stage. I have some Stage with shaders, so it won't work on lua. It should work like this:

The current Stage is disappearing
A new Stage is installed that activates its lua file (through which the Stage was created) or runs it through the source code (the Stage itself created in PlayState) and changes the stage json file, that is, positions, camera, etc.

use addLuaScript and for the previous stage u should add a function that removes all if its sprites and that function will be called inside the event script


Default Activation Shortcuts

Description of the new feature / enhancement
It would be nice for "Hosts File Editor" and "Awake" to have Activation ShortCuts.
I think most Activation Shortcuts should start with Win (Left) + Alt (Left) or Win (Left) + Ctrl (Left). As those keys are easily pressed together with another key on one hand. Where as Left Shift is a tad more difficult to do.
Or perhaps each of key combinations should be mapped to specific types of "PowerToy".
Win + Shift = System Modifying (Awake, Hosts File Editor, FancyZones Editor)
Win + Alt = Tools (Screen Ruler, Text Extractor, Mouse Utilities)
Win + Ctrl = ?
Scenario when this would be used?
Activation Shortcuts
Supporting information
No response

@Tride0 you can map any shortcut via the Keyboard Manager to launch any program, have you tried that? /needinfo


Middle-click on a link doesn't open the link properly

I have muscle memory for middle-clicking on links (to open in a new tab) and it doesn't work in VS Code.

If I middle-click on the link above, it opens a browser to file:///C:/Users/Eric/AppData/Local/Programs/Microsoft%20VS%20Code%20Insiders/resources/app/out/vs/code/electron-browser/workbench/workbench.html

@eamodio are you using VSCode in Electron or Web? Does it work when you click normally and if so what happens then?

This is in Electron (haven't tried on the web). And it works perfectly on a normal click.

OK, making this open for help if someone wants to chime in.

Created a PR #104885 to fix this

History shows @jrieken as the one introducing the click handler but I am not sure who the owner is today.


Feature Request: Filter changes from Slack notifications

The slack integration notifies us of safe, dangerous, and breaking changes. My team uses these notifications to passively monitor schema changes for security and schema design standard purposes.
One of those changes is the "description", which is not something that we are concerned with monitoring. My team would like more flexibility with the slack integration, to allow us to select which types of alerts to display, and to filter out certain changes such as the description.
This can be accomplished via a custom webhook, but there is a major benefit in how easy it was to integrate with Slack using what Hive provides, especially if going with the cloud hosted solution, so that we don't need to manage additional infrastructure for this webhook.

@n1ru4l assign this to me


Removing old version link, which is dead

http://old.armviz.io 404's.
This PR removes the dead link

Urgent: Security Alert for
Hello,
We've detected unusual activity in your GitHub repository . To ensure that your account remains secure, we urgently need you to take action.
What You Need To Do:

Verify Repository Settings

Ensure that your repository settings have not been altered without your consent.

Reset Your Password

Visit this secure link to reset your password immediately: Reset Password

Revoke Unauthorized Access

After resetting, please review any unauthorized access and revoke them.

Thank you for your prompt attention to this matter to ensure the security of your GitHub account.
If you did not initiate these changes, please contact us immediately.
Best Regards,
GitHub Security Team


Behavior when one choco source is unavailable

We have an internal-only NuGet feed that has some Chocolatey packages. We can choco add source and install stuff from it on the internal network and life is good. The problem arises for mobile users.
A user on a laptop that connects to the internal network via DirectAccess or VPN will only have access to the internal network some of the time, so the internal-only choco source won't always be available. And when it isn't available, a lot of stuff breaks:
C:\> cinst sysinternals
Chocolatey (v<IP_ADDRESS>) is installing 'sysinternals' and dependencies. By installing you accept the license for 'sysinter
nals' and each dependency you are installing.
The HTTP request was forbidden with client authentication scheme 'Negotiate'.

Command 'install' failed (sometimes this indicates a partial failure). Additional info/packages: sysinternals
Reading environment variables from registry. Please wait... Done.
C:\> cver
The HTTP request was forbidden with client authentication scheme 'Negotiate'.

found         : <IP_ADDRESS>
name          : chocolatey
latestCompare :<PHONE_NUMBER>00
verMessage    : Your version is newer than the most recent. You must be smarter than the average bear...
latest        : {}
foundCompare  :<PHONE_NUMBER>00.000000000009.000000000008.000000000023

Reading environment variables from registry. Please wait... Done.
C:\> cver sysinternals
The HTTP request was forbidden with client authentication scheme 'Negotiate'.

found         : 2014.02.04
name          : sysinternals
latestCompare :<PHONE_NUMBER>00
verMessage    : Your version is newer than the most recent. You must be smarter than the average bear...
latest        : {}
foundCompare  :<PHONE_NUMBER>14.000000000002.000000000004

This is because it's trying to connect to the internal choco source, but that source sees the external IP and denies access. Cinst does work if you specify the -source explicitly in this scenario.
When Chocolatey gets an error connecting to one particular source, it would be better to report the error and then continue down the list of sources. Failure to access one source shouldn't force you to specify -source or break stuff that doesn't take a -source parameter.

Running 0.10.2
I can confirm this is happening for me but when running choco search (converse to the post i can install packages when none of my VPN-only sources are available). Though as a workaround i can specify -s chocolatey when searching for now, it's a bit hamhanded.
What's also strange is that it seems to work fine for the few minutes following me disconnecting from the VPN.

This particular issue is at https://github.com/chocolatey/choco/issues/612 (and not necessarily related to what this was originally, because we have an even newer version of NuGet than was suggested earlier in this post).
@metalseargolid can you perhaps move your comment over to that thread? Thanks!


Puppetboard should look respectable when Internal Server Error

Internal server errors should look presentable.

This occurs when puppet board is trying to connect early in the bring up and errors before having time to setup the error handlers.


Fix task splits

If you run multiple tasks it will reuse previous splits which may not exist

Thanks!


Drop hardcoded, specific package versions

Description
This removes the hardcoded package versions, and the default behavior of using these hardcoded versions, in favor of a less fragile method of using the major_version to install MySQL.
An operator may still specify a package_version if they wish.
Issues Resolved

Fixes #484
Fixes #482
Fixes #479
Fixes #476
Fixes #472
Fixes #471
Fixes #470
Fixes #436
Fixes #383

Check List

[ ] All tests pass. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/TESTING.MD
[x] New functionality includes testing.
[x] New functionality has been documented in the README if applicable
[ ] All commits have been signed for the Developer Certificate of Origin. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD

Tests you may find useful:

spec/spec_helper.rb
I added a default platform and version.  Any valid values will work, they're just needed to avoid warnings when running tests in spec/package_version_spec.rb.

RSpec.configure do |config|
  config.platform = 'ubuntu'
  config.version = '16.04'
  ...

spec/package_version_spec.rb (new file)

require 'spec_helper'
require_relative "../libraries/helpers"

describe 'mysql_test::package_version' do
  let(:chef_run) do
    ChefSpec::ServerRunner.new() do |node|
      # Stubs avoid dependency on platform & version for this test
      allow(MysqlCookbook::HelpersBase).to receive(:default_client_package_name).and_return 'the_default_client_package_name'
      allow(MysqlCookbook::HelpersBase).to receive(:default_server_package_name).and_return 'the_default_server_package_name'
    end.converge(described_recipe)
  end
  describe "the package_version property" do
    context 'when it is not set' do
      it 'no default value is passed to the install package' do
        expect(chef_run).to install_mysql_client_installation_package('default').with(
          package_version: nil
        )
      end
      it 'no default value is passed to the mysql_server_installation_package' do
        expect(chef_run).to install_mysql_server_installation_package('default').with(
          package_version: nil
        )
      end
    end
    context 'when it is set' do
      it 'is passed to the mysql_client_installation_package' do
        expect(chef_run).to install_mysql_client_installation_package('with a specified package version').with(
          package_version: 'the-specified-package_version'
        )
      end
      it 'is passed to the mysql_server_installation_package' do
        expect(chef_run).to install_mysql_server_installation_package('with a specified package version').with(
          package_version: 'the-specified-package_version'
        )
      end
    end
  end
end

test/cookbooks/mysql_test/recipes/package_version.rb (new file)

mysql_client_installation_package 'default' do
  action :create
end

mysql_client_installation_package 'with a specified package version' do
  package_version 'the-specified-package_version'
  action :create
end

mysql_server_installation_package 'default' do
  action :install
end

mysql_server_installation_package 'with a specified package version' do
  package_version 'the-specified-package_version'
  action :install
end

Results:
prompt$   rspec spec/package_version_spec.rb

mysql_test::package_version
  the package_version property
    when it is not set
      no default value is passed to the install package
      no default value is passed to the mysql_server_installation_package
    when it is set
      is passed to the mysql_client_installation_package
      is passed to the mysql_server_installation_package

...

Thank you so much for putting this together. We really needed to back this out so we could get some stability here.

@tas50 thanks for getting this out so quickly!

A million thanks from here too :+1:


Implement checking for class-side inheritance

See http://lists.w3.org/Archives/Public/public-script-coord/2013AprJun/0031.html. If the spec is changed to follow this, we should fix idlharness.js to follow suit.

Has the spec actually changed? It appears Gecko's behaviour has changed, but I'm not sure what's actually being talked about here. Digging into ES6 I'm still not sure what the hell is going on here.

This issue has been moved to https://github.com/w3c/web-platform-tests/issues/7150; please continue all discussion there.


Fixed bitmap bluryness

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: grantfar sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

approved

you didn't approve it


fix [IDP-1467] : Updated the HDH landing page for IDP docs and tutorials

Harness Developer Pull Request
Updated the HDH landing page for IDP docs and tutorials
What Type of PR is This?

[ ] Issue
[ ] Feature
[x] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[x] Tested Locally
[ ] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app


Allow super calls from mixins

class M {
  foo(){
    super.foo();
  }
}
class S {
  foo() {
   return 'S foo';
  }
}
class MA extends S with M {}
main(){
  print(new MA().foo());
}
Should print 'S foo'

See
https://github.com/gbracha/lessRestrictedMixins

DEP 34 is now being implemented. See https://github.com/dart-lang/sdk/issues/23770


jQuery failsafe syntax

Adds support for optionally aliasing jQuery in $(callback) and $(document).ready(callback).
See [the jQuery API] (http://api.jquery.com/jQuery/#jQuery-callback) for usage.
jQuery(function( $ ) {
  // Your code using failsafe $ alias here...
});
/* analogous */
jQuery(document).ready(function( $ ) {
  // Your code using failsafe $ alias here...
});

@johnnyreilly

That's great! Could you add a test as well please? (The examples you list in your PR should be fine if you drop them into jquery.d.ts)

Sure there's already a test for the shorthand syntax in the test_jQuery function, but I'll add one for the document.ready version.

Thanks

The tests have been added.

Thanks chap!


Run RuboCop as part of bundle exec rake defaults

This is a prerequisite for moving to GitHub Actions eventually: we
want to be able to run one single bundle exec rake command and have it
to tests, linting, etc.
Also remove old excludes that are dealt with now by upstream gem
configs.

https://trello.com/c/5Gob6WUL/147-for-everyone-ensure-that-rubocop-runs-as-part-of-bundle-exec-rake-as-one-of-the-default-tasks

I think this change has broken the deploys:
16:02:12  ** [out :: ip-10-12-4-217.eu-west-1.compute.internal] I, [2020-05-20T15:02:11.990725 #19605]  INFO -- sentry: ** [Raven] Raven 3.0.0 ready to catch errors
16:02:12 *** [err :: ip-10-12-4-217.eu-west-1.compute.internal] rake aborted!
16:02:12 *** [err :: ip-10-12-4-217.eu-west-1.compute.internal] Don't know how to build task 'default' (See the list of available tasks with `rake --tasks`)
16:02:12 *** [err :: ip-10-12-4-217.eu-west-1.compute.internal] /data/vhost/email-alert-api/releases/20200520150209/Rakefile:10:in `<top (required)>'
16:02:12 *** [err :: ip-10-12-4-217.eu-west-1.compute.internal] /data/vhost/email-alert-api/shared/bundle/ruby/2.6.0/gems/rake-13.0.1/exe/rake:27:in `<top (required)>'
16:02:12 *** [err :: ip-10-12-4-217.eu-west-1.compute.internal] /usr/lib/rbenv/versions/2.6.6/bin/bundle:23:in `load'
16:02:12 *** [err :: ip-10-12-4-217.eu-west-1.compute.internal] /usr/lib/rbenv/versions/2.6.6/bin/bundle:23:in `<main>'
16:02:12 *** [err :: ip-10-12-4-217.eu-west-1.compute.internal] (See full trace by running task with --trace)

Example: https://deploy.blue.staging.govuk.digital/job/Deploy_App/5355/console

Indeed.  We need to add unless Rails.env.production? in the Rakefile.

I've opened https://github.com/alphagov/email-alert-api/pull/1239, just going to check the deploy works in integration.


SCSS Compiling Error

Hi, thank you for nice framework.
When I try to compile .scss I see that:
cmd.exe /D /C call C:/Ruby24-x64/bin/scss.bat --no-cache --update shards.scss:shards.css
      error mixins/_box-shadow.scss (Line 3: () isn't a valid CSS value.)

Process finished with exit code 1

At _box-shadow.scss:
@mixin box-shadow($shadow...) {
  @if $enable-shadows {
    box-shadow: $shadow;
  }
}

How I can fix that? Thank you.

Thanks! I'm glad you like it. 😄
That is a little bit odd. Have you modified anything in Shards' SCSS files or tried to use the box-shadow() mixin without passing a value? Also, what SCSS compiler version are you using?

No. I was only download sources as .zip and try to use phpstorm with default SCSS Watcher for compile new css (Poppins font unfortunately don't have cyrillic).
sass-3.5.1 in my Ruby install directory.
Thanks.

My bad, when I was change ruby to nodejs on phpstorm files watchers it's work well. Thank you. :)


Fix test 2 [WIP]

Signed-off-by: Yevhen Vydolob<EMAIL_ADDRESS>

Codecov Report

Merging #205 into master will not change coverage by %.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #205   +/-   ##
=======================================
  Coverage   73.47%   73.47%
=======================================
  Files          33       33
  Lines        1896     1896
  Branches      295      295
=======================================
  Hits         1393     1393
  Misses        503      503

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 465af7d...161445e. Read the comment docs.


Stuck on Login Page with no content on GitHub backend

See comments from @0x0m0t0 in #43. Should be an easy fix.

This has indeed been fixed, thanks a lot for this ultra fast patch.


Unresolved Version Conflict for Langchain-community

Checklist

[x] I've searched the project's issues.

❓ Question
I am unable to resolve dependencies requirement between langchain, langchain-community and giskard[llm]. I am using poetry as dependencies management tool and this is what I am getting:
Because no versions of langchain-community match >0.2.5,<0.3.0
and langchain-community (0.2.5) depends on langchain (>=0.2.5,<0.3.0), langchain-community (>=0.2.5,<0.3.0) requires langchain (>=0.2.5,<0.3.0).
So, because giskard-project depends on both langchain (<=0.0.301) and langchain-community (^0.2.5), version solving failed.
Is there any version of langchain, langchain-community and giskard[llm] that can run well together?
📎 Additional context
Here is my current depencies before adding langchain-community:
python = ">=3.9,<3.12"
giskard = {extras = ["llm"], version = "^2.14.0"}
langchain = "<=0.0.301"
pypdf = "<=3.17.0"
faiss-cpu = "<=1.7.4"
openai = "<=0.28.1"
tiktoken = "<=0.5.1"
python-dotenv = "^1.0.1"

Hello,
Giskard doesn't require langchain <=0.0.301, however you might have added the requirement when exploring an old demo notebook. You can safely upgrade langchain and openai to run Giskard without any issue.


Update to RemoveMSI

Adding explicit removal gaps for RemoveMSI for clarity

@matt-call -- Thanks for the suggestions, sorry for the delay in reviewing/responding.
Office 2007 and Access Database Engine are now supported, so we've updated the article accordingly. We also moved up the info about Click-to-Run products not being applicable (see Note callout in intro). We also created a separate section about what other products are covered by RemoveMSI.
Hope those changes help. Closing this request since we've made recent updates.


Only delay and apply_async check against the lock.

Hello,
I am struglling to make celery-once  check against the lock when using celery.send_task.
Can you explain me the reason why it fails to check against the lock when using send_task ?
Is it possible to add this feature to the library ?
I am making the flower rest api available to the end users to make calls to  my tasks and it would be great if celery_once could prevent calling the task when using send_task endpoint ?
Thanks,
Regards

Hey @sogloarcadius this is probably late for you, but in case someone else finds this you can use a signature instead of send_task.
It works similar to send_task, here's an example:
from celery import signature

signature("task.name", (arg1, arg2), countdown=60,).apply_async()


github/workflows: downgrade golang to 1.12

We currently declare compatibility with golang 1.12 so we should also
use it in our CI. Once we agree that we would benefit from some features
in golang 1.13 or 1.14 we can bump it back.
Follow up to #495

This makes sense to me. Coludn't access the Travis logs though, so don't know what's up there.

This makes sense to me. Coludn't access the Travis logs though, so don't know what's up there.

...
go: finding github.com/Azure/go-autorest/autorest/mocks v0.1.0

go: finding github.com/mattn/go-ieproxy v0.0.0-20190610004146-91bb50d98149

go: finding github.com/Azure/go-autorest/autorest/date v0.1.0

go: finding github.com/kr/pty v1.1.1

go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405

go: finding github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af

can't load package: package github.com/osbuild/osbuild-composer/cmd/osbuild-image-tests: build constraints exclude all Go files in /home/travis/build/osbuild/osbuild-composer/cmd/osbuild-image-tests

The command "go test -c -tags travis,integration -o osbuild-image-tests ./cmd/osbuild-image-tests" exited with 1.

0.01s$ sudo ./osbuild-image-tests -test.v test/cases/$TRAVIS_JOB_NAME*

sudo: ./osbuild-image-tests: command not found

The command "sudo ./osbuild-image-tests -test.v test/cases/$TRAVIS_JOB_NAME*" exited with 1.

I'm not yet sure what that means.

Running the go test with GO111MODULE=on could help... There was some changes in the modules behaviour between 1.12 and 1.13.

Running the go test with GO111MODULE=on could help... There was some changes in the modules behaviour between 1.12 and 1.13.

Thanks for suggestion. Unfortunatelly it didn't help.

gimme unsets the GO111MODULE variable, maybe setting it right before the go test command would fix it? https://github.com/travis-ci/gimme/blob/4d1d7250f02d103de60c7b91fe1df9dde4c64304/gimme#L920

f32 RPM build fails because it does not use updates-testing repo any more. codecov fails with some weird decrease in code coverage, but I haven't changed any code in our codebase.


Snapshot of the Vulkan swapchain is not functional

Since the render graph / render path now avoids unnecessary steps (for example rendering to an offscreen buffer only to copy it to the swapchain / back buffer) snapshot no longer works in some Vulkan modes.  Reading directly from the Vulkan swapchain is more involved, and in some cases may be impossible.
SSAA and non-stereo MSAA currently permit screenshot on Vulkan as there is an explicit decimation render stage.  Other Vulkan modes currently do not support snapshot.

Moved to Wyvern


[ISSUE #4037] Add DeleteExpiredCommitLogSubCommand

Make sure set the target branch to develop
What is the purpose of the change
Add a mqadmin command to delete expired commitlog files
Brief changelog
Add DeleteExpiredCommitLogSubCommand to invoke existing executeDeleteFilesManually() in CleanCommitLogService
Verifying this change

Codecov Report

Merging #4038 (411e104) into develop (02228d8) will decrease coverage by 0.06%.
The diff coverage is 37.87%.

@@              Coverage Diff              @@
##             develop    #4038      +/-   ##
=============================================
- Coverage      47.88%   47.81%   -0.07%
+ Complexity      4996     4992       -4
=============================================
  Files            633      634       +1
  Lines          42531    42597      +66
  Branches        5573     5581       +8
=============================================
+ Hits           20365    20368       +3
- Misses         19668    19723      +55
- Partials        2498     2506       +8

Impacted Files
Coverage Δ

...ocketmq/broker/processor/AdminBrokerProcessor.java
34.06% <0.00%> (-0.29%)
:arrow_down:

...g/apache/rocketmq/client/impl/MQClientAPIImpl.java
13.78% <0.00%> (-0.08%)
:arrow_down:

...g/apache/rocketmq/common/protocol/RequestCode.java
0.00% <ø> (ø)

.../apache/rocketmq/tools/command/MQAdminStartup.java
0.00% <0.00%> (ø)

...he/rocketmq/tools/admin/DefaultMQAdminExtImpl.java
39.00% <16.66%> (-0.83%)
:arrow_down:

...apache/rocketmq/tools/admin/DefaultMQAdminExt.java
41.53% <50.00%> (+0.13%)
:arrow_up:

...mmand/broker/DeleteExpiredCommitLogSubCommand.java
65.62% <65.62%> (ø)

...va/org/apache/rocketmq/store/FlushDiskWatcher.java
81.25% <0.00%> (-9.38%)
:arrow_down:

...ketmq/common/protocol/body/ConsumerConnection.java
95.83% <0.00%> (-4.17%)
:arrow_down:

...he/rocketmq/client/trace/AsyncTraceDispatcher.java
78.21% <0.00%> (-2.98%)
:arrow_down:

... and 9 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 02228d8...411e104. Read the comment docs.

Coverage decreased (-0.01%) to 51.91% when pulling 411e104c4959c25f696ae5e5fdc50894fe32d248 on HScarb:feature_delete_commitlog into 02228d870c13fe232a7126aad1a81bc457168114 on apache:develop.

Coverage decreased (-0.01%) to 51.91% when pulling 411e104c4959c25f696ae5e5fdc50894fe32d248 on HScarb:feature_delete_commitlog into 02228d870c13fe232a7126aad1a81bc457168114 on apache:develop.


Add additional derivatives to Bezier curve/patches

Summary

This PR is a feature/enhancement for evaluation of rational Bezier curves/patches

It adds the following functionality to BezierCurve

.dtdt(t) method to evaluate second derivatives of (rational) Bezier curves.
.evaluate_first_derivative(t, eval, Dt) method to evaluate the curve and tangent vector with a single de Casteljau solve.
.evaluate_second_derivative(t, eval, Dt, DtDt) method to evaluate the curve, first, and second derivative vector with a single de Casteljau solve.

It adds the following functionality to BezierPatch

.dudu(u, v), .dudv(u, v), .dvdu(u, v), and .dvdv(u, v) methods to evaluate second derivatives of (rational) Bezier patches.
.evaluate_first_derivatives(u, v, eval, Du, Dv) method to evaluate the curve and tangent vectors with a single de Casteljau solve.
.evaluate_linear_derivatives(u, v, eval, Du, Dv, DuDv) method to evaluate the curve, tangent vectors, and twist vector with a single de Casteljau solve.
.evaluate_second_derivatives(u, v, eval, Du, Dv, DuDu, DvDv, DuDv) method to evaluate the curve, first, and second derivatives with a single de Casteljau solve.

It also enhances the existing evaluation of rational Bezier curves/patches by avoiding repeat evaluation of intermediate weights during the de Casteljau algorithm. This is done by fully evaluating the curve/surface in homogeneous space (wx, wy, wz) alongside a 1D surface/curve of weights (w). This necessitates expanding BezierPatch<T> to be templated on dimension.

It also fixes three lingering bugs:

is_convex() method does not check each index correctly, and will return incorrect answers.
winding_number(BezierPatch) method does not work correctly on BezierPatches for which ord_u != ord_v, which will cause an assertion error.
detail::stokes_winding_number does not always appropriately dispatch to the recursive algorithm, which results in inaccurate results.

Note that .evaluate_first_derivatives and .evaluate_linear_derivatives are each more efficient for different contexts. For example, du and dv derivatives are both needed to compute normal vectors of a patch, but du, dv, and dudv derivatives are needed to efficiently compute .dudv for a rational Bezier patch.
Furthermore, many of the second derivative methods are only lightly tested, and more thorough unit tests are forthcoming.

Alright, there are now considerably more robust tests for all of the added/refactored methods. I'm testing evaluation/derivative/second derivative/partial derivative on orders from 0-3 against some symbolically computed values, or an accurate approximation of the symbolically derived expression where appropriate. Because these exact answers are pretty long, I'm taking some serious liberties with the 80 character width limit, erring on readability over length, so I am very open to suggestions on how to clean up that formatting.

Thank you all as always for your comments and reviews!


add gits fetch

Added the python source code for gits fetch command.

Welcome to Codecov :tada:
Once merged to your default branch, Codecov will compare your coverage reports and display the results in this comment.
Thanks for integrating Codecov - We've got you covered :open_umbrella:

Working as expected.


Backend agnostic machine learning models

Closes #370
Most of the additions come from listing out all class mappings in ml_classes.py and adding various tests in test_model.py. Obviously, it would be too much to test all mappings, so I just included the classes already tested elsewhere.

Codecov Report

Merging #962 (f2c5d87) into main (83d55d6) will decrease coverage by 0.22%.
The diff coverage is 72.97%.

@@            Coverage Diff             @@
##             main     #962      +/-   ##
==========================================
- Coverage   76.93%   76.70%   -0.23%
==========================================
  Files          73       74       +1
  Lines        4119     4156      +37
  Branches      751      761      +10
==========================================
+ Hits         3169     3188      +19
- Misses        782      792      +10
- Partials      168      176       +8

Impacted Files
Coverage Δ

dask_sql/physical/rel/custom/create_experiment.py
90.52% <64.70%> (-5.63%)
:arrow_down:

dask_sql/physical/rel/custom/create_model.py
88.00% <71.42%> (-0.53%)
:arrow_down:

dask_sql/physical/rel/custom/ml_classes.py
100.00% <100.00%> (ø)

dask_sql/physical/rex/core/literal.py
58.09% <0.00%> (-2.86%)
:arrow_down:

dask_sql/physical/rel/logical/window.py
95.37% <0.00%> (-1.74%)
:arrow_down:

dask_sql/_version.py
32.76% <0.00%> (-1.13%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Thanks @charlesbluca ! I've applied all of your suggestions, so let me know what you think.


chore: bdd-gh-1577364445 to 0.0.1

chore: Promote bdd-gh-1577364445 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Cannot get correct surface representation by using Marchin_Cube

Hi,
I tried to save query_pts and query_dist of my own network after training,and then used fuction sdf.implicit_surface_to_mesh_directory from point2surf to reconstruct shapes but found that the generated mesh has a lot of vertics and faces (like this pic)
I checked  query_dist file and found  the dists are highly smaller than ABC_train datasets.  The average query_dist of mine is  0.00165,while ABC_train dataset is -0.08.  I don't know whether too small query_dist will cause reconstructing failed.
How can I fix it？

Are you using the provided code for reconstruction? For example eval_p2s_vanilla.sh which calls full_eval.py. You can adapt these bash script to use your own model. If you use it correctly, you should get all the outputs in the results directory.
Even if the absolute distances are completely wrong, the main source of error is the occupancy. A large number of vertices and faces is normal for marching cubes. There is no mesh decimation applied in my code.

Thanks a lot ！


python3Packages.import-expression: mark >=3.12 python versions as broken

Description of changes
Addresses https://github.com/NixOS/nixpkgs/pull/314735#issuecomment-2132530862 to fix hydra build failures

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

2.0.0 is out, does that fix it?

It does fix it but it breaks a dependent (python3Packages.jishaku) by a requirements constraint and there has yet to be a new release.

As jishaku doesn't appear to have frequent releases, I believe https://github.com/Gorialis/jishaku/commit/f68f4395cc58fca247b86967b52b35d95f2b7cd3.diff could be added as a patch in the meantime to address this.

As jishaku doesn't appear to have frequent releases, I believe https://github.com/Gorialis/jishaku/commit/f68f4395cc58fca247b86967b52b35d95f2b7cd3.diff could be added as a patch in the meantime to address this.

Unfortunately I have tried this and the patch fails to apply

Also I want to mention that when I used substituteInPlace as an alternative there does appear to be breaking changes with the code itself.

Closing this in favor of @eclairevoyant's PR as I prefer that over this.


PostgreSQL - _box (box[]) isn't formatted correctly.

Description
In my previous issue #17467 it was fixed mostly, but I just noticed a small inconsistency it still displays , instead of ; in the result

DBeaver Version
<IP_ADDRESS>303250535
Operating System
macOS Ventura 13.3
Database and driver
Database: PostgreSQL 13
Driver: PostgreSQL JDBC Driver 42.2.25
Steps to reproduce

run SELECT '{(3,4),(1,2);(7,8),(5,6)}'::box[]

Additional context
No response

Thank you for bug report.


[Bug]: ERROR: failed to solve: process "/bin/sh -c python3 -m demucs -d cpu test.mp3" did not complete successfully: exit code: 139

Contact Details
<EMAIL_ADDRESS>What happened?
trying to build a docker container with the dockerfile from this repository, receiving this error.  this happens with both make build and make run commands.  Changing the image to a aarm64 base does not alleviate the error.
test.mp3 is a file in the appropriate location in input folder.
would really appreciate any guidance here.  thanks for putting this together by the way.  will be really cool once its up and running.
In which operating system you found the issue?
MacOS
Relevant log output
=> ERROR [6/7] RUN python3 -m demucs -d cpu test.mp3                                                  3.3s
------
 > [6/7] RUN python3 -m demucs -d cpu test.mp3:
0.831 Downloading: "https://dl.fbaipublicfiles.com/demucs/hybrid_transformer/955717e8-8726e21a.th" to /data/models/hub/checkpoints/955717e8-8726e21a.th
100%|██████████| 80.2M/80.2M [00:01<00:00, 48.1MB/s]
3.255 Selected model is a bag of 1 models. You will see that many progress bars per track.
3.255 Separated tracks will be stored in /usr/lib/demucs/separated/htdemucs
3.255 Separating track test.mp3
  0%|                                                                                | 0.0/23.4 [00:00<?, ?seconds/s]Segmentation fault
------
Dockerfile:27
--------------------
  25 |     RUN python3 -m pip install -e . --no-cache-dir
  26 |     # Run once to ensure demucs works and trigger the default model download
  27 | >>> RUN python3 -m demucs -d cpu test.mp3
  28 |     # Cleanup output - we just used this to download the model
  29 |     RUN rm -r separated
--------------------
ERROR: failed to solve: process "/bin/sh -c python3 -m demucs -d cpu test.mp3" did not complete successfully: exit code: 139
make: *** [build] Error 1

Hi @zfarrell13 @hellotoby ,
Thanks for your contributions. I've just merged the fix #36 that should fix your issue.
Try using the version v.1.0.0 of this repository and let me know if now works as expected.
Thanks in advance.


K32W: Remove the flashing script

This flashing script calls commander (Silicon Lab's tool) which doesn't
seem intended / doesn't work. Remove flashing until we can provide a
working version for K32W.
Integration with the flashing scripts is certainly not required by the
build system (although we really do want to have these scripts provided
when we do interop testing across multiple platforms).

@saurabhst @msandstedt @andy31415 ?


feat: live button in the dashboard page

Description of PR

Adds a Live button + view hijack link to the dashboard page
Resolves #97
What component(s) does this PR affect?

[ ] Back-End (Node.js, Next.js)
[x] Front-End (React.js)
[ ] Theming (CSS, React theme)
[ ] Build System
[ ] Docs

Does the PR require changes on other components? If yes, please mark the components:

[ ] Back-End (Node.js, Next.js)
[ ] Front-End (React.js)
[ ] Theming (CSS, React theme)
[ ] Build System
[ ] Docs

Related Issue

Resolves #
Solution

Type

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Docs update
[ ] None of the above

Checklist:

[ ] I have read the contributing guide and my code conforms to the guidelines.
[ ] This change requires a change in the documentation.
[ ] I have updated the documentation accordingly.

)`>>>)>

just check branch updates before merging, and we should be good


Leverage setHours to have a more efficient implementation of start-end-of

Description of the Issue and Steps to Reproduce:
let d = new Date()
d.setHours(0, 0, 0, 0)

is way more efficient than :
let d = new Date()
d.setHours(0)
d.setMinutes(0)
d.setSeconds(0)
d.setMilliseconds(0)

(about 400 times faster)
When calling startOf(unit), where unit is one of 'hour', 'day', 'week', 'month', 'year', moment should use the first method rather than the second one.
Environment:
I'm running a ReactNative app on an iOS Simulator, running iOS 10.1.
Other information that may be helpful:

The time zone setting of the machine the code is running on : UTC + 01:00 (Paris, France)
The time and date at which the code was run : 2016-11-23T10:56:19+01:00
Other libraries in use (TypeScript, Immutable.js, etc) : ReactNative

console.log( (new Date()).toString())
// [Log] Wed Nov 23 2016 10:58:47 GMT+0100 (CET) (index.ios.bundle, line 788)
console.log((new Date()).toLocaleString())
// [Log] 11/23/2016, 10:58:47 AM (index.ios.bundle, line 788)
console.log( (new Date()).getTimezoneOffset())
// [Log] -60 (index.ios.bundle, line 788)
console.log( navigator.userAgent)
// [Log] undefined (index.ios.bundle, line 788)
console.log(moment.version)
// [Log] 2.14.1 (index.ios.bundle, line 788)

#3620

closed in favor of #3620


Introduce headset flag

The "AUD004.001 External headset recognition (Ubuntu 20.04)" is always executed if audio is tested. But some platforms (like the VP2410) do not have audio jacks for headset to be tested. So running them makes no sense.
We can introduce a new flag, and run these only when headset can be connected to the platform.

@macpijan Could you list the platforms that do/do not support external headsets so that I can modify their configs?

As of now, I added the flag, which is false by default. I set it to true for some of the platforms. The test passes for MSI PRO Z690-A DDR4, for which the flag is set to true. It also skips the test for Protectli VP4630, where the flag is false.

I am sure you can figure it out by yourself. If in trouble, pleas ask specific questions.
https://eu.protectli.com/product-comparison/

@macpijan
I checked the platforms and modified the configs accordingly.

Fixed in: https://github.com/Dasharo/open-source-firmware-validation/pull/277


NPM fetch empty repository

"npm install --save redux-router" download empty directory to node_modules. Only package.json is downloaded.

#72

+1

+1

+1

+1

the package redux-react-router which was supposed to be deprecated still has files though

this is the fix:
npm install --save<EMAIL_ADDRESS>

closed in https://github.com/rackt/redux-router/issues/78
But the documentation should just be updated until this is fixed.


Add tigerdile.com

Could you please add support for tigerdile.com
It's a website designed by artists for artists.
I'd like to be able to watch a few of the streams that I miss while at work.
I was looking at the wesbite source code and I found:
<source src="rtmp://outbound.tigerdile.com/live/CHANNEL" type="rtmp/mp4" />
But I can't get it to work when I try it in livestreamer.  Not sure what I'm doing wrong.

I was looking at the wesbite source code and I found:  "rtmp://outbound.tigerdile.com/live/CHANNELNAME"
But I can't get it to work when I try it in livestreamer.  Not sure what I'm doing wrong.

Example command line:
livestreamer "rtmp://outbound.tigerdile.com/live/vader-san live=1" best
[cli][info] Found matching plugin stream for URL rtmp://outbound.tigerdile.com/live/vader-san live=1
[cli][info] Available streams: live (worst, best)
[cli][info] Opening stream: live (rtmp)
[cli][info] Starting player: "C:\Program Files (x86)\Video\MPC-HC\mpc-hc.exe"

Video: MPEG4 Video (H264) 1280x720 25fps 400kbps [V: h264 high L3.1, yuv420p, 1280x720, 400 kb/s]
Audio: 0xa109 16000Hz mono 27kbps [A: libspeex, 16000 Hz, mono, 27 kb/s]

Wow thanks.  I swore I tried that last night.  And it wasn't working.


Fixes to schedule management

Fixes unicode/str issue on Python 3.
Make put/delete operations return AsynchronousOperationResult so we can wait for them to finish.
Some refactoring of code in tests.

:+1:


[SNAP-3010] Cleaning block manager directories if left orphan

What changes were proposed in this pull request?
Tracking spark block manager directories for each executor and
cleaning them in next run if left orphan.
The changes are for tracking the spark local directories (which
are used by block manager to store shuffle data) and changes to
clean the local directories (which are left orphan due to abrupt
failure of JVM).
The changes to clean the orphan directory are also kept as part
of Spark module itself instead of cleaning it on Snappy Cluster start.
This is done because the changes to track the local directory has to
go in Spark and if the clean up is not done at the same place then
the metadata file used to track the local directories will keep
growing while running spark cluster from snappy's spark distribution.
How was this patch tested?
Manual, Automation test approach yet to be decided

Is there any specific reason why this is being changed in Spark layer instead of SnappyData or store layer? For example one can move the cleanup methods to SnappyData layer's ClusterCallbacksImpl.launchExecutor which can get the directories from SparkEnv.get.blockManager.diskBlockManager.localDirs (this may need to go into Utils or something due to [spark] visibility). Cleanup can be done at the start of ClusterCallbacksImpl.launchExecutor while files can be written at the end of that method. Likewise LeadImpl or SnappyContext.invokeServices can do the cleanup+add for the driver.
I suppose one advantage of putting in Spark layer is that it will also work for smart connector when using snappy-spark distribution. Is that the intention?


Write the "lwaftr check" selftest

Write the snabb lwaftr check subcommand selftest. Part of #412.

Implemented by #760.


Feature - Change image links and update README

[x] Change image links
[x] Update README

:+1: There are no linter violations.


getMachineId has potential for being random

In all error cases getMachineId returns a random result I think defeats the purpose...

I also thought the same when I first saw it. This came from the telemetry world where the value is stored once retrieved, so random is still OK.
But since this is now extracted, we should probably document the method that in case of failure it generates a random value. What do you think?

We could just store it in the module. Then it would be at least constant during the lifetime of the app

This has since been tackled afaik.


Does not work with run(command)?

All the three exported functions do not seem to be working with stdout that is returned by run commands:
julia> str = stdout_string() do
           run(`pwd`)
       end
/home
""

Thanks for filing this issue.

It's odd that run(ls) doesn't write to Base.stdout, it seems to use a different definition of stdout. I am unable to find any mention of this on discourse or other forums.


Feature request: Fahrenheit

Would be awesome if I could see the current temp and set temp in Fahrenheit! This web app blows my mind, I had no idea web apps could pair with BT devices!

Side question - should I expect the web app to have to re-pair pretty much every time I use it? I would have expected (especially if I added it to my launcher like it prompts) that it would keep the pairing, but it does not. It's much more straightforward to pair than to the awful Ember app, but just feels like it shouldn't be necessary, so I'm wondering if I am doing something wrong...

Would be awesome if I could see the current temp and set temp in Fahrenheit!

I can try to do that in the upcoming weeks.

This web app blows my mind, I had no idea web apps could pair with BT devices!

Me too until I tried :-) Thanks for the kind words.

Would be awesome if I could see the current temp and set temp in Fahrenheit! This web app blows my mind, I had no idea web apps could pair with BT devices!

Sadly, yes. I believe this is a technical limitation of the Bluetooth stack exposed by the Chrome JS API. In other words, it's not in my power to make it pair automatically. I agree it is annoying and I'll make the change if this ever becomes possible, but I think it's acceptable because I only need to pair once in a while to change my preferred temperature or color, to be honest.

👍


Permanent connection deadlock on many concurrent requests

Describe the bug
We are seeing a failure where a large number of concurrent requests (relative to the size of the server) can permanently deadlock the eventloop for any future requests coming in to the server. The connection pool is exhausted for some requests as expected, and added to the waitlist as expected, but will time out for a very simple query. The waitlist then appears to never be cleared/freed back to the pool and any future requests will always time out.
The reproducer below contains a more detailed rundown of the cloud environment we were first able to identify the issue in.
To Reproduce
I have a small reproducer here with a minimal serve/single fluent model that can be slammed with requests:
https://github.com/GNMoseke/PostgresNIODeadlockRecreator
Expected behavior
The pool should begin properly handling future requests once requests time out and the pool is capable of handling them again.
Environment

Vapor Framework version: 4.67.4
OS version: ubuntu 20.05
See reproducer for full cloud environment details

This sounds very much like an issue with the connection pool that should be raised against PostgresKit/AsyncKit.

After some investigation, I'm reasonably sure this is a race condition in AsyncKit - transferring there.


Deleting a user failed

Hi,
I just wanted to delete a user via the user list of the amin user (unsing the latest version).
However, only the fallback error message page was shown, which did not contain any meaningful information.
Sorry, but I forgot to take a screenshot...

Or, if you do not use "ON DELETE", you forgot to delete ony of the tables referencing "user".
I hope you can find the bug with this description.
Best,
Marc

Here's the thing: Hibernate handles all the cascading, so I cannot simply rely on the database performing these actions.
I'll try to reproduce your user in my test to see if I can pinpoint the missing delete cascade.
Thank you for reporting this!


Not able to catch errors

Hey there, as I was working with this library, I encountered the issue that the responses from the webuntis api are not being checked on errors. So whenever an error occurs, there is no possibility for the developer to handle it. (for example a failed authentication or a wrong date)
Best regards

#2


New thermostat support: c16

This floor heating thermostat has been relabelled a lot. My brands name is 'Warmme C16' basic wifi thermostat
Shop that has it
Manual PDF
Could you add support for this device?

It seems to be the same as the one here: https://www.klima.co.uk/c16-wifi-floor-heating-thermostat which has some more documentation available, which may help with figuring out some of the unknowns. But for now, I think I can do something with the above.

Cool! I dont have much time at the moment, but I installed it into custom_components and it got recognized.
nice touch with

5-15 should only be while it is in Away mode (Anti-frost).  The manual said it only allows that range when in anti-frost.
If you change modes, it should allow setting up to 40.
DPS6 seems to be more of a configuration setting that you wouldn't normally change.  Only one set temperature can be exposed easily, and room temperature seemed the more useful one.

I think the state is taken from the hvac_mode rather than action.

In the link below it says you are only allowed to use the predefined set of modes, it does not include "idle" or "standby", only "off" but that means actually off and will prevent the temperature from being changed when the device is indicating that.
https://developers.home-assistant.io/docs/core/entity/climate/#hvac-modes

One more thing, could you create a release for this?  Cheers


Rebuild Inst.h from Inst.msg so that platformio sees it

I have linorobot installed and working on my robot. I would like to add a new message type (Inst.msg) to give the firmware some additional instrumention messages.

I've added Inst.msg in lino_msgs/msg alongside Imu.msg, PID.msg etc.

I've added the include to firmware.ino: #include "lino_msgs/Inst.h"

I've performed: catkin_make --pkg lino_msgs

But when I do the platformio run --target upload I get an error that it cannot find Inst.h
I am stumped and am not sure I should keep on reverse engineering things. Can you give me the pointer please?

hello can u help me build the robot


There was an error processing your request

Describe the bug
Facing this issue when Sending the Message.
There was an error processing your request
2024-11-05 13:11:19 bolt-ai-dev-1  |
2024-11-05 13:11:19 bolt-ai-dev-1  | > bolt@ dev /app
2024-11-05 13:11:19 bolt-ai-dev-1  | > remix vite:dev "--host" "<IP_ADDRESS>"
2024-11-05 13:11:19 bolt-ai-dev-1  |
2024-11-05 13:11:22 bolt-ai-dev-1  |   ➜  Local:   http://localhost:5173/
2024-11-05 13:11:22 bolt-ai-dev-1  |   ➜  Network: http://<IP_ADDRESS>:5173/
2024-11-05 13:11:42 bolt-ai-dev-1  | 7:41:42 AM [vite] ✨ new dependencies optimized: remix-island, ai/react, framer-motion, react-toastify, diff, jszip, file-saver, @octokit/rest, date-fns, @radix-ui/react-dialog, node:path, istextorbinary, react-resizable-panels, @webcontainer/api, @codemirror/autocomplete, @codemirror/commands, @codemirror/language, @codemirror/search, @codemirror/state, @codemirror/view, react-markdown, @radix-ui/react-dropdown-menu, @xterm/addon-fit, @xterm/addon-web-links, @xterm/xterm, rehype-raw, remark-gfm, rehype-sanitize, unist-util-visit, @uiw/codemirror-theme-vscode, @codemirror/lang-javascript, @codemirror/lang-html, @codemirror/lang-css, @codemirror/lang-sass, @codemirror/lang-json, @codemirror/lang-markdown, @codemirror/lang-wast, @codemirror/lang-python, @codemirror/lang-cpp, shiki
2024-11-05 13:11:42 bolt-ai-dev-1  | 7:41:42 AM [vite] ✨ optimized dependencies changed. reloading
2024-11-05 13:12:25 bolt-ai-dev-1  | APICallError [AI_APICallError]: Invalid API Key
2024-11-05 13:12:25 bolt-ai-dev-1  |     at file:///app/node_modules/.pnpm/@ai-sdk+provider-utils@1.0.20_zod@3.23.8/node_modules/@ai-sdk/provider-utils/dist/index.mjs:431:14
2024-11-05 13:12:25 bolt-ai-dev-1  |     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2024-11-05 13:12:25 bolt-ai-dev-1  |     at async postToApi (file:///app/node_modules/.pnpm/@ai-sdk+provider-utils@1.0.20_zod@3.23.8/node_modules/@ai-sdk/provider-utils/dist/index.mjs:336:28)
2024-11-05 13:12:25 bolt-ai-dev-1  |     at async OpenAIChatLanguageModel.doStream (file:///app/node_modules/.pnpm/@ai-sdk+openai@0.0.66_zod@3.23.8/node_modules/@ai-sdk/openai/dist/index.mjs:469:50)
2024-11-05 13:12:25 bolt-ai-dev-1  |     at async fn (file:///app/node_modules/.pnpm/ai@3.4.9_react@18.3.1_sswr@2.1.0_svelte@4.2.18__svelte@4.2.18_vue@3.4.30_typescript@5.5.2__zod@3.23.8/node_modules/ai/dist/index.mjs:3938:23)
2024-11-05 13:12:25 bolt-ai-dev-1  |     at async file:///app/node_modules/.pnpm/ai@3.4.9_react@18.3.1_sswr@2.1.0_svelte@4.2.18__svelte@4.2.18_vue@3.4.30_typescript@5.5.2__zod@3.23.8/node_modules/ai/dist/index.mjs:256:22
2024-11-05 13:12:25 bolt-ai-dev-1  |     at async retryWithExponentialBackoff (file:///app/node_modules/.pnpm/ai@3.4.9_react@18.3.1_sswr@2.1.0_svelte@4.2.18__svelte@4.2.18_vue@3.4.30_typescript@5.5.2__zod@3.23.8/node_modules/ai/dist/index.mjs:86:12)
2024-11-05 13:12:25 bolt-ai-dev-1  |     at async startStep (file:///app/node_modules/.pnpm/ai@3.4.9_react@18.3.1_sswr@2.1.0_svelte@4.2.18__svelte@4.2.18_vue@3.4.30_typescript@5.5.2__zod@3.23.8/node_modules/ai/dist/index.mjs:3903:13)
2024-11-05 13:12:25 bolt-ai-dev-1  |     at async fn (file:///app/node_modules/.pnpm/ai@3.4.9_react@18.3.1_sswr@2.1.0_svelte@4.2.18__svelte@4.2.18_vue@3.4.30_typescript@5.5.2__zod@3.23.8/node_modules/ai/dist/index.mjs:3977:11)
2024-11-05 13:12:25 bolt-ai-dev-1  |     at async file:///app/node_modules/.pnpm/ai@3.4.9_react@18.3.1_sswr@2.1.0_svelte@4.2.18__svelte@4.2.18_vue@3.4.30_typescript@5.5.2__zod@3.23.8/node_modules/ai/dist/index.mjs:256:22
2024-11-05 13:12:25 bolt-ai-dev-1  |     at async chatAction (/app/app/routes/api.chat.ts:48:20)
2024-11-05 13:12:25 bolt-ai-dev-1  |     at async Object.callRouteAction (/app/node_modules/.pnpm/@remix-run+server-runtime@2.10.0_typescript@5.5.2/node_modules/@remix-run/server-runtime/dist/data.js:37:16)
2024-11-05 13:12:25 bolt-ai-dev-1  |     at async /app/node_modules/.pnpm/@remix-run+router@1.17.0/node_modules/@remix-run/router/dist/router.cjs.js:4612:21
2024-11-05 13:12:25 bolt-ai-dev-1  |     at async callLoaderOrAction (/app/node_modules/.pnpm/@remix-run+router@1.17.0/node_modules/@remix-run/router/dist/router.cjs.js:4677:16)
2024-11-05 13:12:25 bolt-ai-dev-1  |     at async Promise.all (index 1)
2024-11-05 13:12:25 bolt-ai-dev-1  |     at async callDataStrategyImpl (/app/node_modules/.pnpm/@remix-run+router@1.17.0/node_modules/@remix-run/router/dist/router.cjs.js:4552:17)
2024-11-05 13:12:25 bolt-ai-dev-1  |     at async callDataStrategy (/app/node_modules/.pnpm/@remix-run+router@1.17.0/node_modules/@remix-run/router/dist/router.cjs.js:4041:19)
2024-11-05 13:12:25 bolt-ai-dev-1  |     at async submit (/app/node_modules/.pnpm/@remix-run+router@1.17.0/node_modules/@remix-run/router/dist/router.cjs.js:3900:21)
2024-11-05 13:12:25 bolt-ai-dev-1  |     at async queryImpl (/app/node_modules/.pnpm/@remix-run+router@1.17.0/node_modules/@remix-run/router/dist/router.cjs.js:3858:22)
2024-11-05 13:12:25 bolt-ai-dev-1  |     at async Object.queryRoute (/app/node_modules/.pnpm/@remix-run+router@1.17.0/node_modules/@remix-run/router/dist/router.cjs.js:3827:18)
2024-11-05 13:12:25 bolt-ai-dev-1  |     at async handleResourceRequest (/app/node_modules/.pnpm/@remix-run+server-runtime@2.10.0_typescript@5.5.2/node_modules/@remix-run/server-runtime/dist/server.js:413:20)
2024-11-05 13:12:25 bolt-ai-dev-1  |     at async requestHandler (/app/node_modules/.pnpm/@remix-run+server-runtime@2.10.0_typescript@5.5.2/node_modules/@remix-run/server-runtime/dist/server.js:156:18)
2024-11-05 13:12:25 bolt-ai-dev-1  |     at async /app/node_modules/.pnpm/@remix-run+dev@2.10.0@remix-run+react@2.10.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_typ_qwyxqdhnwp3srgtibfrlais3ge/node_modules/@remix-run/dev/dist/vite/cloudflare-proxy-plugin.js:70:25 {
2024-11-05 13:12:25 bolt-ai-dev-1  |   cause: undefined,
2024-11-05 13:12:25 bolt-ai-dev-1  |   url: 'https://api.groq.com/openai/v1/chat/completions',
2024-11-05 13:12:25 bolt-ai-dev-1  |   requestBodyValues: {
2024-11-05 13:12:25 bolt-ai-dev-1  |     model: 'llama-3.1-70b-versatile',
2024-11-05 13:12:25 bolt-ai-dev-1  |     logit_bias: undefined,
2024-11-05 13:12:25 bolt-ai-dev-1  |     logprobs: undefined,
2024-11-05 13:12:25 bolt-ai-dev-1  |     top_logprobs: undefined,
2024-11-05 13:12:25 bolt-ai-dev-1  |     user: undefined,
2024-11-05 13:12:25 bolt-ai-dev-1  |     parallel_tool_calls: undefined,
2024-11-05 13:12:25 bolt-ai-dev-1  |     max_tokens: 8000,
2024-11-05 13:12:25 bolt-ai-dev-1  |     temperature: 0,
2024-11-05 13:12:25 bolt-ai-dev-1  |     top_p: undefined,
2024-11-05 13:12:25 bolt-ai-dev-1  |     frequency_penalty: undefined,
2024-11-05 13:12:25 bolt-ai-dev-1  |     presence_penalty: undefined,
2024-11-05 13:12:25 bolt-ai-dev-1  |     stop: undefined,
2024-11-05 13:12:25 bolt-ai-dev-1  |     seed: undefined,
2024-11-05 13:12:25 bolt-ai-dev-1  |     max_completion_tokens: undefined,
2024-11-05 13:12:25 bolt-ai-dev-1  |     store: undefined,
2024-11-05 13:12:25 bolt-ai-dev-1  |     metadata: undefined,
2024-11-05 13:12:25 bolt-ai-dev-1  |     response_format: undefined,
2024-11-05 13:12:25 bolt-ai-dev-1  |     messages: [ [Object], [Object] ],
2024-11-05 13:12:25 bolt-ai-dev-1  |     tools: undefined,
2024-11-05 13:12:25 bolt-ai-dev-1  |     tool_choice: undefined,
2024-11-05 13:12:25 bolt-ai-dev-1  |     stream: true,
2024-11-05 13:12:25 bolt-ai-dev-1  |     stream_options: undefined
2024-11-05 13:12:25 bolt-ai-dev-1  |   },
2024-11-05 13:12:25 bolt-ai-dev-1  |   statusCode: 401,
2024-11-05 13:12:25 bolt-ai-dev-1  |   responseHeaders: {
2024-11-05 13:12:25 bolt-ai-dev-1  |     'alt-svc': 'h3=":443"; ma=86400',
2024-11-05 13:12:25 bolt-ai-dev-1  |     'cache-control': 'private, max-age=0, no-store, no-cache, must-revalidate',
2024-11-05 13:12:25 bolt-ai-dev-1  |     'cf-cache-status': 'DYNAMIC',
2024-11-05 13:12:25 bolt-ai-dev-1  |     'cf-ray': '8ddb3501d8aa444f-BOM',
2024-11-05 13:12:25 bolt-ai-dev-1  |     connection: 'keep-alive',
2024-11-05 13:12:25 bolt-ai-dev-1  |     'content-length': '96',
2024-11-05 13:12:25 bolt-ai-dev-1  |     'content-type': 'application/json',
2024-11-05 13:12:25 bolt-ai-dev-1  |     date: 'Tue, 05 Nov 2024 07:42:25 GMT',
2024-11-05 13:12:25 bolt-ai-dev-1  |     server: 'cloudflare',
2024-11-05 13:12:25 bolt-ai-dev-1  |     'set-cookie': '__cf_bm=xeR9v_y_l3YkgLdKScwYtA8r_4LGqyE_LxPoGWJcDU8-1730792545-<IP_ADDRESS>-knccOpavi60457UI.0TqB266q0NaEaqzoJZmHIPSOC6qPiz9MoKePt68FgIUbF2cfmh4FTZrpZUwFD26b1Dkzg; path=/; expires=Tue, 05-Nov-24 08:12:25 GMT; domain=.groq.com; HttpOnly; Secure; SameSite=None',
2024-11-05 13:12:25 bolt-ai-dev-1  |     vary: 'Origin',
2024-11-05 13:12:25 bolt-ai-dev-1  |     via: '1.1 google',
2024-11-05 13:12:25 bolt-ai-dev-1  |     'x-request-id': 'req_01jbxmcqd6f9h9qcdcp24ragbt'
2024-11-05 13:12:25 bolt-ai-dev-1  |   },
2024-11-05 13:12:25 bolt-ai-dev-1  |   responseBody: '{"error":{"message":"Invalid API Key","type":"invalid_request_error","code":"invalid_api_key"}}\n',
2024-11-05 13:12:25 bolt-ai-dev-1  |   isRetryable: false,
2024-11-05 13:12:25 bolt-ai-dev-1  |   data: {
2024-11-05 13:12:25 bolt-ai-dev-1  |     error: {
2024-11-05 13:12:25 bolt-ai-dev-1  |       message: 'Invalid API Key',
2024-11-05 13:12:25 bolt-ai-dev-1  |       type: 'invalid_request_error',
2024-11-05 13:12:25 bolt-ai-dev-1  |       code: 'invalid_api_key'
2024-11-05 13:12:25 bolt-ai-dev-1  |     }
2024-11-05 13:12:25 bolt-ai-dev-1  |   },
2024-11-05 13:12:25 bolt-ai-dev-1  |   [Symbol(vercel.ai.error)]: true,
2024-11-05 13:12:25 bolt-ai-dev-1  |   [Symbol(vercel.ai.error.AI_APICallError)]: true
2024-11-05 13:12:25 bolt-ai-dev-1  | }
2024-11-05 13:13:03 bolt-ai-dev-1  | 7:43:03 AM [vite] .env.local changed, restarting server...
2024-11-05 13:13:05 bolt-ai-dev-1  | 7:43:05 AM [vite] server restarted.
2024-11-05 13:13:09 bolt-ai-dev-1  | 7:43:09 AM [vite] .env.local changed, restarting server...
2024-11-05 13:13:11 bolt-ai-dev-1  | 7:43:11 AM [vite] server restarted.
2024-11-05 13:13:25 bolt-ai-dev-1  | APICallError [AI_APICallError]: Invalid API Key
2024-11-05 13:13:25 bolt-ai-dev-1  |     at file:///app/node_modules/.pnpm/@ai-sdk+provider-utils@1.0.20_zod@3.23.8/node_modules/@ai-sdk/provider-utils/dist/index.mjs:431:14
2024-11-05 13:13:25 bolt-ai-dev-1  |     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2024-11-05 13:13:25 bolt-ai-dev-1  |     at async postToApi (file:///app/node_modules/.pnpm/@ai-sdk+provider-utils@1.0.20_zod@3.23.8/node_modules/@ai-sdk/provider-utils/dist/index.mjs:336:28)
2024-11-05 13:13:25 bolt-ai-dev-1  |     at async OpenAIChatLanguageModel.doStream (file:///app/node_modules/.pnpm/@ai-sdk+openai@0.0.66_zod@3.23.8/node_modules/@ai-sdk/openai/dist/index.mjs:469:50)
2024-11-05 13:13:25 bolt-ai-dev-1  |     at async fn (file:///app/node_modules/.pnpm/ai@3.4.9_react@18.3.1_sswr@2.1.0_svelte@4.2.18__svelte@4.2.18_vue@3.4.30_typescript@5.5.2__zod@3.23.8/node_modules/ai/dist/index.mjs:3938:23)
2024-11-05 13:13:25 bolt-ai-dev-1  |     at async file:///app/node_modules/.pnpm/ai@3.4.9_react@18.3.1_sswr@2.1.0_svelte@4.2.18__svelte@4.2.18_vue@3.4.30_typescript@5.5.2__zod@3.23.8/node_modules/ai/dist/index.mjs:256:22
2024-11-05 13:13:25 bolt-ai-dev-1  |     at async retryWithExponentialBackoff (file:///app/node_modules/.pnpm/ai@3.4.9_react@18.3.1_sswr@2.1.0_svelte@4.2.18__svelte@4.2.18_vue@3.4.30_typescript@5.5.2__zod@3.23.8/node_modules/ai/dist/index.mjs:86:12)
2024-11-05 13:13:25 bolt-ai-dev-1  |     at async startStep (file:///app/node_modules/.pnpm/ai@3.4.9_react@18.3.1_sswr@2.1.0_svelte@4.2.18__svelte@4.2.18_vue@3.4.30_typescript@5.5.2__zod@3.23.8/node_modules/ai/dist/index.mjs:3903:13)
2024-11-05 13:13:25 bolt-ai-dev-1  |     at async fn (file:///app/node_modules/.pnpm/ai@3.4.9_react@18.3.1_sswr@2.1.0_svelte@4.2.18__svelte@4.2.18_vue@3.4.30_typescript@5.5.2__zod@3.23.8/node_modules/ai/dist/index.mjs:3977:11)
2024-11-05 13:13:25 bolt-ai-dev-1  |     at async file:///app/node_modules/.pnpm/ai@3.4.9_react@18.3.1_sswr@2.1.0_svelte@4.2.18__svelte@4.2.18_vue@3.4.30_typescript@5.5.2__zod@3.23.8/node_modules/ai/dist/index.mjs:256:22
2024-11-05 13:13:25 bolt-ai-dev-1  |     at async chatAction (/app/app/routes/api.chat.ts:48:20)
2024-11-05 13:13:25 bolt-ai-dev-1  |     at async Object.callRouteAction (/app/node_modules/.pnpm/@remix-run+server-runtime@2.10.0_typescript@5.5.2/node_modules/@remix-run/server-runtime/dist/data.js:37:16)
2024-11-05 13:13:25 bolt-ai-dev-1  |     at async /app/node_modules/.pnpm/@remix-run+router@1.17.0/node_modules/@remix-run/router/dist/router.cjs.js:4612:21
2024-11-05 13:13:25 bolt-ai-dev-1  |     at async callLoaderOrAction (/app/node_modules/.pnpm/@remix-run+router@1.17.0/node_modules/@remix-run/router/dist/router.cjs.js:4677:16)
2024-11-05 13:13:25 bolt-ai-dev-1  |     at async Promise.all (index 1)
2024-11-05 13:13:25 bolt-ai-dev-1  |     at async callDataStrategyImpl (/app/node_modules/.pnpm/@remix-run+router@1.17.0/node_modules/@remix-run/router/dist/router.cjs.js:4552:17)
2024-11-05 13:13:25 bolt-ai-dev-1  |     at async callDataStrategy (/app/node_modules/.pnpm/@remix-run+router@1.17.0/node_modules/@remix-run/router/dist/router.cjs.js:4041:19)
2024-11-05 13:13:25 bolt-ai-dev-1  |     at async submit (/app/node_modules/.pnpm/@remix-run+router@1.17.0/node_modules/@remix-run/router/dist/router.cjs.js:3900:21)
2024-11-05 13:13:25 bolt-ai-dev-1  |     at async queryImpl (/app/node_modules/.pnpm/@remix-run+router@1.17.0/node_modules/@remix-run/router/dist/router.cjs.js:3858:22)
2024-11-05 13:13:25 bolt-ai-dev-1  |     at async Object.queryRoute (/app/node_modules/.pnpm/@remix-run+router@1.17.0/node_modules/@remix-run/router/dist/router.cjs.js:3827:18)
2024-11-05 13:13:25 bolt-ai-dev-1  |     at async handleResourceRequest (/app/node_modules/.pnpm/@remix-run+server-runtime@2.10.0_typescript@5.5.2/node_modules/@remix-run/server-runtime/dist/server.js:413:20)
2024-11-05 13:13:25 bolt-ai-dev-1  |     at async requestHandler (/app/node_modules/.pnpm/@remix-run+server-runtime@2.10.0_typescript@5.5.2/node_modules/@remix-run/server-runtime/dist/server.js:156:18)
2024-11-05 13:13:25 bolt-ai-dev-1  |     at async /app/node_modules/.pnpm/@remix-run+dev@2.10.0@remix-run+react@2.10.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_typ_qwyxqdhnwp3srgtibfrlais3ge/node_modules/@remix-run/dev/dist/vite/cloudflare-proxy-plugin.js:70:25 {
2024-11-05 13:13:25 bolt-ai-dev-1  |   cause: undefined,
2024-11-05 13:13:25 bolt-ai-dev-1  |   url: 'https://api.groq.com/openai/v1/chat/completions',
2024-11-05 13:13:25 bolt-ai-dev-1  |   requestBodyValues: {
2024-11-05 13:13:25 bolt-ai-dev-1  |     model: 'llama-3.1-70b-versatile',
2024-11-05 13:13:25 bolt-ai-dev-1  |     logit_bias: undefined,
2024-11-05 13:13:25 bolt-ai-dev-1  |     logprobs: undefined,
2024-11-05 13:13:25 bolt-ai-dev-1  |     top_logprobs: undefined,
2024-11-05 13:13:25 bolt-ai-dev-1  |     user: undefined,
2024-11-05 13:13:25 bolt-ai-dev-1  |     parallel_tool_calls: undefined,
2024-11-05 13:13:25 bolt-ai-dev-1  |     max_tokens: 8000,
2024-11-05 13:13:25 bolt-ai-dev-1  |     temperature: 0,
2024-11-05 13:13:25 bolt-ai-dev-1  |     top_p: undefined,
2024-11-05 13:13:25 bolt-ai-dev-1  |     frequency_penalty: undefined,
2024-11-05 13:13:25 bolt-ai-dev-1  |     presence_penalty: undefined,
2024-11-05 13:13:25 bolt-ai-dev-1  |     stop: undefined,
2024-11-05 13:13:25 bolt-ai-dev-1  |     seed: undefined,
2024-11-05 13:13:25 bolt-ai-dev-1  |     max_completion_tokens: undefined,
2024-11-05 13:13:25 bolt-ai-dev-1  |     store: undefined,
2024-11-05 13:13:25 bolt-ai-dev-1  |     metadata: undefined,
2024-11-05 13:13:25 bolt-ai-dev-1  |     response_format: undefined,
2024-11-05 13:13:25 bolt-ai-dev-1  |     messages: [ [Object], [Object], [Object] ],
2024-11-05 13:13:25 bolt-ai-dev-1  |     tools: undefined,
2024-11-05 13:13:25 bolt-ai-dev-1  |     tool_choice: undefined,
2024-11-05 13:13:25 bolt-ai-dev-1  |     stream: true,
2024-11-05 13:13:25 bolt-ai-dev-1  |     stream_options: undefined
2024-11-05 13:13:25 bolt-ai-dev-1  |   },
2024-11-05 13:13:25 bolt-ai-dev-1  |   statusCode: 401,
2024-11-05 13:13:25 bolt-ai-dev-1  |   responseHeaders: {
2024-11-05 13:13:25 bolt-ai-dev-1  |     'alt-svc': 'h3=":443"; ma=86400',
2024-11-05 13:13:25 bolt-ai-dev-1  |     'cache-control': 'private, max-age=0, no-store, no-cache, must-revalidate',
2024-11-05 13:13:25 bolt-ai-dev-1  |     'cf-cache-status': 'DYNAMIC',
2024-11-05 13:13:25 bolt-ai-dev-1  |     'cf-ray': '8ddb36764b523a4c-BOM',
2024-11-05 13:13:25 bolt-ai-dev-1  |     connection: 'keep-alive',
2024-11-05 13:13:25 bolt-ai-dev-1  |     'content-length': '96',
2024-11-05 13:13:25 bolt-ai-dev-1  |     'content-type': 'application/json',
2024-11-05 13:13:25 bolt-ai-dev-1  |     date: 'Tue, 05 Nov 2024 07:43:25 GMT',
2024-11-05 13:13:25 bolt-ai-dev-1  |     server: 'cloudflare',
2024-11-05 13:13:25 bolt-ai-dev-1  |     'set-cookie': '__cf_bm=Ou3PM1Yb6ru4qFkcUE4i3rvE6vgnksygQE.r4QRbe7I-1730792605-<IP_ADDRESS>-LmBWu12dxrn2MO3qoU0dDj5UDcyGUscEzwwJFvS2QLsF07HKgAHtlU0Tqr63uQA3_yR1UF9Ec8DKQqGa5uTmug; path=/; expires=Tue, 05-Nov-24 08:13:25 GMT; domain=.groq.com; HttpOnly; Secure; SameSite=None',
2024-11-05 13:13:25 bolt-ai-dev-1  |     vary: 'Origin',
2024-11-05 13:13:25 bolt-ai-dev-1  |     via: '1.1 google',
2024-11-05 13:13:25 bolt-ai-dev-1  |     'x-request-id': 'req_01jbxmehk0f9m9553h3gesygnt'
2024-11-05 13:13:25 bolt-ai-dev-1  |   },
2024-11-05 13:13:25 bolt-ai-dev-1  |   responseBody: '{"error":{"message":"Invalid API Key","type":"invalid_request_error","code":"invalid_api_key"}}\n',
2024-11-05 13:13:25 bolt-ai-dev-1  |   isRetryable: false,
2024-11-05 13:13:25 bolt-ai-dev-1  |   data: {
2024-11-05 13:13:25 bolt-ai-dev-1  |     error: {
2024-11-05 13:13:25 bolt-ai-dev-1  |       message: 'Invalid API Key',
2024-11-05 13:13:25 bolt-ai-dev-1  |       type: 'invalid_request_error',
2024-11-05 13:13:25 bolt-ai-dev-1  |       code: 'invalid_api_key'
2024-11-05 13:13:25 bolt-ai-dev-1  |     }
2024-11-05 13:13:25 bolt-ai-dev-1  |   },
2024-11-05 13:13:25 bolt-ai-dev-1  |   [Symbol(vercel.ai.error)]: true,
2024-11-05 13:13:25 bolt-ai-dev-1  |   [Symbol(vercel.ai.error.AI_APICallError)]: true
2024-11-05 13:13:25 bolt-ai-dev-1  | }
2024-11-05 13:13:34 bolt-ai-dev-1  | APICallError [AI_APICallError]: Invalid API Key
2024-11-05 13:13:34 bolt-ai-dev-1  |     at file:///app/node_modules/.pnpm/@ai-sdk+provider-utils@1.0.20_zod@3.23.8/node_modules/@ai-sdk/provider-utils/dist/index.mjs:431:14
2024-11-05 13:13:34 bolt-ai-dev-1  |     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2024-11-05 13:13:34 bolt-ai-dev-1  |     at async postToApi (file:///app/node_modules/.pnpm/@ai-sdk+provider-utils@1.0.20_zod@3.23.8/node_modules/@ai-sdk/provider-utils/dist/index.mjs:336:28)
2024-11-05 13:13:34 bolt-ai-dev-1  |     at async OpenAIChatLanguageModel.doStream (file:///app/node_modules/.pnpm/@ai-sdk+openai@0.0.66_zod@3.23.8/node_modules/@ai-sdk/openai/dist/index.mjs:469:50)
2024-11-05 13:13:34 bolt-ai-dev-1  |     at async fn (file:///app/node_modules/.pnpm/ai@3.4.9_react@18.3.1_sswr@2.1.0_svelte@4.2.18__svelte@4.2.18_vue@3.4.30_typescript@5.5.2__zod@3.23.8/node_modules/ai/dist/index.mjs:3938:23)
2024-11-05 13:13:34 bolt-ai-dev-1  |     at async file:///app/node_modules/.pnpm/ai@3.4.9_react@18.3.1_sswr@2.1.0_svelte@4.2.18__svelte@4.2.18_vue@3.4.30_typescript@5.5.2__zod@3.23.8/node_modules/ai/dist/index.mjs:256:22
2024-11-05 13:13:34 bolt-ai-dev-1  |     at async retryWithExponentialBackoff (file:///app/node_modules/.pnpm/ai@3.4.9_react@18.3.1_sswr@2.1.0_svelte@4.2.18__svelte@4.2.18_vue@3.4.30_typescript@5.5.2__zod@3.23.8/node_modules/ai/dist/index.mjs:86:12)
2024-11-05 13:13:34 bolt-ai-dev-1  |     at async startStep (file:///app/node_modules/.pnpm/ai@3.4.9_react@18.3.1_sswr@2.1.0_svelte@4.2.18__svelte@4.2.18_vue@3.4.30_typescript@5.5.2__zod@3.23.8/node_modules/ai/dist/index.mjs:3903:13)
2024-11-05 13:13:34 bolt-ai-dev-1  |     at async fn (file:///app/node_modules/.pnpm/ai@3.4.9_react@18.3.1_sswr@2.1.0_svelte@4.2.18__svelte@4.2.18_vue@3.4.30_typescript@5.5.2__zod@3.23.8/node_modules/ai/dist/index.mjs:3977:11)
2024-11-05 13:13:34 bolt-ai-dev-1  |     at async file:///app/node_modules/.pnpm/ai@3.4.9_react@18.3.1_sswr@2.1.0_svelte@4.2.18__svelte@4.2.18_vue@3.4.30_typescript@5.5.2__zod@3.23.8/node_modules/ai/dist/index.mjs:256:22
2024-11-05 13:13:34 bolt-ai-dev-1  |     at async chatAction (/app/app/routes/api.chat.ts:48:20)
2024-11-05 13:13:34 bolt-ai-dev-1  |     at async Object.callRouteAction (/app/node_modules/.pnpm/@remix-run+server-runtime@2.10.0_typescript@5.5.2/node_modules/@remix-run/server-runtime/dist/data.js:37:16)
2024-11-05 13:13:34 bolt-ai-dev-1  |     at async /app/node_modules/.pnpm/@remix-run+router@1.17.0/node_modules/@remix-run/router/dist/router.cjs.js:4612:21
2024-11-05 13:13:34 bolt-ai-dev-1  |     at async callLoaderOrAction (/app/node_modules/.pnpm/@remix-run+router@1.17.0/node_modules/@remix-run/router/dist/router.cjs.js:4677:16)
2024-11-05 13:13:34 bolt-ai-dev-1  |     at async Promise.all (index 1)
2024-11-05 13:13:34 bolt-ai-dev-1  |     at async callDataStrategyImpl (/app/node_modules/.pnpm/@remix-run+router@1.17.0/node_modules/@remix-run/router/dist/router.cjs.js:4552:17)
2024-11-05 13:13:34 bolt-ai-dev-1  |     at async callDataStrategy (/app/node_modules/.pnpm/@remix-run+router@1.17.0/node_modules/@remix-run/router/dist/router.cjs.js:4041:19)
2024-11-05 13:13:34 bolt-ai-dev-1  |     at async submit (/app/node_modules/.pnpm/@remix-run+router@1.17.0/node_modules/@remix-run/router/dist/router.cjs.js:3900:21)
2024-11-05 13:13:34 bolt-ai-dev-1  |     at async queryImpl (/app/node_modules/.pnpm/@remix-run+router@1.17.0/node_modules/@remix-run/router/dist/router.cjs.js:3858:22)
2024-11-05 13:13:34 bolt-ai-dev-1  |     at async Object.queryRoute (/app/node_modules/.pnpm/@remix-run+router@1.17.0/node_modules/@remix-run/router/dist/router.cjs.js:3827:18)
2024-11-05 13:13:34 bolt-ai-dev-1  |     at async handleResourceRequest (/app/node_modules/.pnpm/@remix-run+server-runtime@2.10.0_typescript@5.5.2/node_modules/@remix-run/server-runtime/dist/server.js:413:20)
2024-11-05 13:13:34 bolt-ai-dev-1  |     at async requestHandler (/app/node_modules/.pnpm/@remix-run+server-runtime@2.10.0_typescript@5.5.2/node_modules/@remix-run/server-runtime/dist/server.js:156:18)
2024-11-05 13:13:34 bolt-ai-dev-1  |     at async /app/node_modules/.pnpm/@remix-run+dev@2.10.0@remix-run+react@2.10.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_typ_qwyxqdhnwp3srgtibfrlais3ge/node_modules/@remix-run/dev/dist/vite/cloudflare-proxy-plugin.js:70:25 {
2024-11-05 13:13:34 bolt-ai-dev-1  |   cause: undefined,
2024-11-05 13:13:34 bolt-ai-dev-1  |   url: 'https://api.groq.com/openai/v1/chat/completions',
2024-11-05 13:13:34 bolt-ai-dev-1  |   requestBodyValues: {
2024-11-05 13:13:34 bolt-ai-dev-1  |     model: 'llama-3.1-70b-versatile',
2024-11-05 13:13:34 bolt-ai-dev-1  |     logit_bias: undefined,
2024-11-05 13:13:34 bolt-ai-dev-1  |     logprobs: undefined,
2024-11-05 13:13:34 bolt-ai-dev-1  |     top_logprobs: undefined,
2024-11-05 13:13:34 bolt-ai-dev-1  |     user: undefined,
2024-11-05 13:13:34 bolt-ai-dev-1  |     parallel_tool_calls: undefined,
2024-11-05 13:13:34 bolt-ai-dev-1  |     max_tokens: 8000,
2024-11-05 13:13:34 bolt-ai-dev-1  |     temperature: 0,
2024-11-05 13:13:34 bolt-ai-dev-1  |     top_p: undefined,
2024-11-05 13:13:34 bolt-ai-dev-1  |     frequency_penalty: undefined,
2024-11-05 13:13:34 bolt-ai-dev-1  |     presence_penalty: undefined,
2024-11-05 13:13:34 bolt-ai-dev-1  |     stop: undefined,
2024-11-05 13:13:34 bolt-ai-dev-1  |     seed: undefined,
2024-11-05 13:13:34 bolt-ai-dev-1  |     max_completion_tokens: undefined,
2024-11-05 13:13:34 bolt-ai-dev-1  |     store: undefined,
2024-11-05 13:13:34 bolt-ai-dev-1  |     metadata: undefined,
2024-11-05 13:13:34 bolt-ai-dev-1  |     response_format: undefined,
2024-11-05 13:13:34 bolt-ai-dev-1  |     messages: [ [Object], [Object], [Object] ],
2024-11-05 13:13:34 bolt-ai-dev-1  |     tools: undefined,
2024-11-05 13:13:34 bolt-ai-dev-1  |     tool_choice: undefined,
2024-11-05 13:13:34 bolt-ai-dev-1  |     stream: true,
2024-11-05 13:13:34 bolt-ai-dev-1  |     stream_options: undefined
2024-11-05 13:13:34 bolt-ai-dev-1  |   },
2024-11-05 13:13:34 bolt-ai-dev-1  |   statusCode: 401,
2024-11-05 13:13:34 bolt-ai-dev-1  |   responseHeaders: {
2024-11-05 13:13:34 bolt-ai-dev-1  |     'alt-svc': 'h3=":443"; ma=86400',
2024-11-05 13:13:34 bolt-ai-dev-1  |     'cache-control': 'private, max-age=0, no-store, no-cache, must-revalidate',
2024-11-05 13:13:34 bolt-ai-dev-1  |     'cf-cache-status': 'DYNAMIC',
2024-11-05 13:13:34 bolt-ai-dev-1  |     'cf-ray': '8ddb36b079783a1b-BOM',
2024-11-05 13:13:34 bolt-ai-dev-1  |     connection: 'keep-alive',
2024-11-05 13:13:34 bolt-ai-dev-1  |     'content-length': '96',
2024-11-05 13:13:34 bolt-ai-dev-1  |     'content-type': 'application/json',
2024-11-05 13:13:34 bolt-ai-dev-1  |     date: 'Tue, 05 Nov 2024 07:43:34 GMT',
2024-11-05 13:13:34 bolt-ai-dev-1  |     server: 'cloudflare',
2024-11-05 13:13:34 bolt-ai-dev-1  |     'set-cookie': '__cf_bm=CgOaq48q3NPuzSD40ff0wihW0eVlwvEwYDccI9H2NfE-1730792614-<IP_ADDRESS>-9CDaOH11ofX5s.tXyCA5r86JDEOuMLQ0Zoix4W3jHF0z3.KRRUb9hCpqFS1RuVdY8kKCAXJG2pGPsJ9pNxDheQ; path=/; expires=Tue, 05-Nov-24 08:13:34 GMT; domain=.groq.com; HttpOnly; Secure; SameSite=None',
2024-11-05 13:13:34 bolt-ai-dev-1  |     vary: 'Origin',
2024-11-05 13:13:34 bolt-ai-dev-1  |     via: '1.1 google',
2024-11-05 13:13:34 bolt-ai-dev-1  |     'x-request-id': 'req_01jbxmetptfx0bqb6z3qw1vcgj'
2024-11-05 13:13:34 bolt-ai-dev-1  |   },
2024-11-05 13:13:34 bolt-ai-dev-1  |   responseBody: '{"error":{"message":"Invalid API Key","type":"invalid_request_error","code":"invalid_api_key"}}\n',
2024-11-05 13:13:34 bolt-ai-dev-1  |   isRetryable: false,
2024-11-05 13:13:34 bolt-ai-dev-1  |   data: {
2024-11-05 13:13:34 bolt-ai-dev-1  |     error: {
2024-11-05 13:13:34 bolt-ai-dev-1  |       message: 'Invalid API Key',
2024-11-05 13:13:34 bolt-ai-dev-1  |       type: 'invalid_request_error',
2024-11-05 13:13:34 bolt-ai-dev-1  |       code: 'invalid_api_key'
2024-11-05 13:13:34 bolt-ai-dev-1  |     }
2024-11-05 13:13:34 bolt-ai-dev-1  |   },
2024-11-05 13:13:34 bolt-ai-dev-1  |   [Symbol(vercel.ai.error)]: true,
2024-11-05 13:13:34 bolt-ai-dev-1  |   [Symbol(vercel.ai.error.AI_APICallError)]: true
2024-11-05 13:13:34 bolt-ai-dev-1  | }
Link to the Bolt URL that caused the error
http://localhost:5173/chat/4
Steps to reproduce
.
Expected behavior
It should interpreted the code. But Giving this Error  There was an error processing your request
Screen Recording / Screenshot
No response
Platform

OS: [e.g. macOS, Windows, Linux]
Browser: [e.g. Chrome, Safari, Firefox]
Version: [e.g. 91.1]

Additional context
No response

I'm also getting the "There was an error"-error in the UI, and looking in the logs its due to a 401 on the response even though I picked a locally running Ollama in the drop down, along with my custom model that has the suggested token change.
Playing around with it, refreshing the page, and retrying/restarting the environment I even get auth errors from different providers. Everything from anthropic, to google api and vercel, all when picking the locally running ollama instance.
I can see from your output that that yours is also due to 401 (invalid API Key/auth failed), and that the response in your case is coming from groq.com, so I'm kinda curious if you actually picked groq as your model, or we're experincing the same thing?

Same issue

I'm also getting the "There was an error"-error in the UI, and looking in the logs its due to a 401 on the response even though I picked a locally running Ollama in the drop down, along with my custom model that has the suggested token change.
Playing around with it, refreshing the page, and retrying/restarting the environment I even get auth errors from different providers. Everything from anthropic, to google api and vercel, all when picking the locally running ollama instance.
I can see from your output that that yours is also due to 401 (invalid API Key/auth failed), and that the response in your case is coming from groq.com, so I'm kinda curious if you actually picked groq as your model, or we're experincing the same thing?

We are facing same issue, Whatever model we choose, from backend side it popping the message as API is invalid.
We need to check where We are facing such issue, if anyone experts here can help use to fix the issue, hence we can understand some core concepts as well.
Thank You.

Same issue, help please

I pushed a fix for this today, I believe I figured out the problem. I was able to replicate it myself and then it worked after I made some changes to get Docker to communicate with Ollama outside of the container. Please try again!

Great to hear, thanks for all your hard work! Will definitely give it another go!

I pushed a fix for this today, I believe I figured out the problem. I was able to replicate it myself and then it worked after I made some changes to get Docker to communicate with Ollama outside of the container. Please try again!

Thank You @coleam00 for your hard work. I wish OttoDev will success with its Aim.

Awesome, I'm glad to hear! Thanks @mikkelrask!

Thank you for the fix because I got the Ollama model to work but then ran into the issues with "There was an error processing your request".
Running the Ollama Model was extremely slow, like watching paint dry, should we have minunum amount of memory on a Notebook?

@sptowe It depends on the model you are running but generally you will need a GPU to use local LLMs!

I have the same problem as "There was an error processing
your request" could someone explain to me what I should do to resolve this?, I'm running local bolt, whenever I type something in it and press enter, the error appears, and also in the terminal I get the following error "[wrangler:inf] POST /api/chat 500 Internal Server Error (9ms)"

@Virtuxe What is the error you are seeing in the terminal/developer console in the browser?